Error setCookie()
From Joomla! Documentation
Errors reported[edit]
When a language filter is used, the page fails with the error: setcookie(): Expects exactly 3 arguments when argument #3 ($expires_or_options) is an array
Versions affected[edit]
General Information
This pertains only to Joomla! version(s): 4.3.0
What is the cause[edit]
Issue reported in sites where the cookie lifetime setting is set to 'Year'. The default cookie setting is 'Session'.
How to fix[edit]
A fix is pending, see Workaround
Workaround[edit]
Change the cookie lifetime from 'Year' to 'Session' in the System plugin 'Language filter'.