No Code Attached Yet bug
avatar rbuelund
rbuelund
19 Apr 2023

Steps to reproduce the issue

Update 4.2.9 site to 4.3.0 - default cassiopeia template and lang switcher plugin enabled. Two languages installed

Expected result

No problem

Actual result

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

System information (as much as possible)

PHP 8.1.17
MySQL 5.7.41

Additional comments

When lang filter plugin is disabled the error goes away ???

avatar rbuelund rbuelund - open - 19 Apr 2023
avatar rbuelund rbuelund - 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 brianteeman
brianteeman - comment - 19 Apr 2023

Please see https://docs.joomla.org/J4.x:Error_setCookie()

You dont need to disable tha5t plugin - just change the cookie to be "sesssion" instead of "year"

avatar tecpromotion
tecpromotion - comment - 19 Apr 2023

Please see also #40414

avatar Fedik Fedik - close - 19 Apr 2023
avatar Fedik
Fedik - comment - 19 Apr 2023

Please test the fix #40414

avatar Fedik Fedik - change - 19 Apr 2023
Status New Closed
Closed_Date 0000-00-00 00:00:00 2023-04-19 14:12:27
Closed_By Fedik
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