Magento – magento2 problem with sessions

magento2sessions

I have problem with session_start()

AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Exception: Warning: session_start(): Failed to decode session object. Session has been destroyed in /var/www/vhosts/my-domains.com/vendor/magento/framework/Session/SessionManager.php on line 191 in /var/www/vhosts/my-domains.com/vendor/magento/framework/App/ErrorHandler.php:61\nStack trace:\n#0 [internal function]: Magento\\Framework\\App\\ErrorHandler->handler(2, 'session_start()...', '/var/www/vhosts...', 191, Array)\n#1 /var/www/vhosts/my-domains.com/vendor/magento/framework/Session/SessionManager.php(191): session_start()\n#2 /var/www/vhosts/my-domains.com/generated/code/Magento/Backend/Model/Auth/Session/Interceptor.php(167): Magento\\Framework\\Session\\SessionManager->start()\n#3 /var/www/vhosts/my-domains.com/vendor/magento/framework/Session/SessionManager.php(127): Magento\\Backend\\Model\\Auth\\Session\\Interceptor->start()\n#4 /var/www/vhosts/my-domains.com\n', referer: https://my-domains.com/setup/

Best Answer

You have to increase the memory_limit and the session lifetime to get this error out. Since you are using plesk make sure to change those values in the correct place.

Related Topic