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

[4.3] Multilingual setcookie fail #40412

Closed
brianteeman opened this issue Apr 19, 2023 · 2 comments
Closed

[4.3] Multilingual setcookie fail #40412

brianteeman opened this issue Apr 19, 2023 · 2 comments

Comments

@brianteeman
Copy link
Contributor

Steps to reproduce the issue

upgrade a multlingual site to 4.3 or make a 4.3 site multilingual

in the system language filter plugin set the last option for cookies to "year"

Expected result

site works

Actual result

Error 0 setcookie(): Expects exactly 3 arguments when argument #3 ($expires_or_options) is an array

image

@brianteeman
Copy link
Contributor Author

as a temp fix you can change the value in the plugin from year to session

@richard67
Copy link
Member

Closing as having a pull request. 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