You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[error][yii\base\ErrorException:2] yii\base\ErrorException: session_set_cookie_params(): Session cookies cannot be used when session.use_cookies is disabled in /var/www/layer5-live/vendor/yiisoft/yii2/web/Session.php:429
Stack trace:
#0 [internal function]: yii\base\ErrorHandler->handleError()
#1 /var/www/layer5-live/vendor/yiisoft/yii2/web/Session.php(429): session_set_cookie_params()
#2 /var/www/layer5-live/vendor/yiisoft/yii2/web/Session.php(147): yii\web\Session->setCookieParamsInternal()
#3 /var/www/layer5-live/vendor/yiisoft/yii2/web/Session.php(699): yii\web\Session->open()
What is the expected result?
yii\web\Session should not set cookie params when useCookies is false.
What do you get instead?
See error above.
Additional info
Q
A
Yii version
2.0.49.3
PHP version
8.3.14
Operating system
Debian Linux
The text was updated successfully, but these errors were encountered:
…kies is false
Upgrading from PHP 8.3.7 to 8.3.14 breaks yii\web\Session when used with useCookies = false.
Error: Session cookies cannot be used when session.use_cookies is disabled.
…kies is false
Upgrading from PHP 8.3.7 to 8.3.14 breaks yii\web\Session when used with useCookies = false.
Error: Session cookies cannot be used when session.use_cookies is disabled.
What steps will reproduce the problem?
Upgrading from PHP 8.3.7 to 8.3.14 breaks
yii\web\Session
when used with useCookies = false.Breaking Change in PHP: php/php-src@7cdd130 (php/php-src#16385)
Error:
What is the expected result?
yii\web\Session
should not set cookie params when useCookies is false.What do you get instead?
See error above.
Additional info
The text was updated successfully, but these errors were encountered: