Hi,
just upgraded to 4.3 and got major bug with the multilanguage website;
The error code: setcookie(): Expects exactly 3 arguments when argument #3 ($expires_or_options) is an array
StackTrace:
<html><body>
<!--StartFragment-->
# | Function | Location
-- | -- | --
1 | () | JROOT/libraries/src/Input/Cookie.php:102
2 | setcookie() | JROOT/libraries/src/Input/Cookie.php:102
3 | Joomla\CMS\Input\Cookie->set() | JROOT/plugins/system/languagefilter/languagefilter.php:803
4 | PlgSystemLanguageFilter->setLanguageCookie() | JROOT/plugins/system/languagefilter/languagefilter.php:481
5 | PlgSystemLanguageFilter->parseRule() | JROOT/libraries/src/Router/Router.php:384
6 | Joomla\CMS\Router\Router->processParseRules() | JROOT/libraries/src/Router/Router.php:144
7 | Joomla\CMS\Router\Router->parse() | JROOT/libraries/src/Application/SiteApplication.php:746
8 | Joomla\CMS\Application\SiteApplication->route() | JROOT/libraries/src/Application/SiteApplication.php:232
9 | Joomla\CMS\Application\SiteApplication->doExecute() | JROOT/libraries/src/Application/CMSApplication.php:293
10 | Joomla\CMS\Application\CMSApplication->execute() | JROOT/includes/app.php:61
11 | require_once() | JROOT/index.php:32
<!--EndFragment-->
</body>
</html>
Downgrading the PHP version to 7.4 solves the problem. But this reappears on 8.0, 8.1, 8.2 versions
Labels |
Added:
No Code Attached Yet
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-04-19 08:40:28 |
Closed_By | ⇒ | alikon |
Labels |
Added:
bug
|
Closing as having a pull request. Please test #40414 . Thanks in advance.