Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Language Filter broken in 4.3 #40427

Closed
brbrbr opened this issue Apr 19, 2023 · 3 comments
Closed

Language Filter broken in 4.3 #40427

brbrbr opened this issue Apr 19, 2023 · 3 comments

Comments

@brbrbr
Copy link

brbrbr commented Apr 19, 2023

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.

@brianteeman
Copy link
Contributor

@brbrbr
Copy link
Author

brbrbr commented Apr 19, 2023

Sorry for bothering you with this report.

I did search on 'language filter' and 'setcookie' with no hits.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/40427.

@richard67
Copy link
Member

Closing as duplicate report and because there is a pull request which fixes the issue. Please test #40414 . Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants