No Code Attached Yet bug
avatar brbrbr
brbrbr
19 Apr 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.

avatar brbrbr brbrbr - open - 19 Apr 2023
avatar brbrbr brbrbr - change - 19 Apr 2023
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 19 Apr 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 19 Apr 2023
avatar brbrbr
brbrbr - comment - 19 Apr 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.

avatar richard67 richard67 - close - 19 Apr 2023
avatar richard67
richard67 - comment - 19 Apr 2023

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

avatar richard67 richard67 - change - 19 Apr 2023
Status New Closed
Closed_Date 0000-00-00 00:00:00 2023-04-19 18:03:12
Closed_By richard67
avatar richard67 richard67 - change - 19 Apr 2023
Labels Added: bug
avatar richard67 richard67 - labeled - 19 Apr 2023

Add a Comment

Login with GitHub to post a comment