We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Clean install of Joomla 4.3 Enable the 'Language Filter' Cookie Lifetime to year
setcookie(): Expects exactly 3 arguments when argument #3 ($expires_or_options) is an array
setLanguageCookie in plugins/system/languagefilter/languagefilter.php calls the set method with an array for expire.
libraries/src/Input/Cookie.php passes the array to setcookie as 'expire_or_options' WITH the other function arguments. Should be WITHOUT.
The text was updated successfully, but these errors were encountered:
https://docs.joomla.org/J4.x:Error_setCookie()
Sorry, something went wrong.
Sorry for bothering you with this report.
I did search on 'language filter' and 'setcookie' with no hits.
Closing as duplicate report and because there is a pull request which fixes the issue. Please test #40414 . Thanks in advance.
No branches or pull requests
Steps to reproduce the issue
Clean install of Joomla 4.3
Enable the 'Language Filter'
Cookie Lifetime to year
result
setcookie(): Expects exactly 3 arguments when argument #3 ($expires_or_options) is an array
Additional comments
setLanguageCookie in plugins/system/languagefilter/languagefilter.php calls the set method with an array for expire.
libraries/src/Input/Cookie.php passes the array to setcookie as 'expire_or_options' WITH the other function arguments. Should be WITHOUT.
The text was updated successfully, but these errors were encountered: