Skip to content

Warning: Expiry date cannot have a year greater than #2045

@motorlesha

Description

@motorlesha

I tried to set session time more that 9999

Warning: Expiry date cannot have a year greater than 9999 in /var/www/sources/motorny/magento2/lib/internal/Magento/Framework/Stdlib/Cookie/PhpCookieManager.php on line 124
#0 [internal function]: Magento\Framework\App\ErrorHandler->handler(2, 'Expiry date can...', '/var/www/source...', 124, Array)
#1 /var/www/sources/motorny/magento2/lib/internal/Magento/Framework/Stdlib/Cookie/PhpCookieManager.php(124): setcookie('admin', '8n1gt2hhajjtqu5...', 1001444221846, '/admin', 'magento2.motorn...', false, true)
#2 /var/www/sources/motorny/magento2/lib/internal/Magento/Framework/Stdlib/Cookie/PhpCookieManager.php(96): Magento\Framework\Stdlib\Cookie\PhpCookieManager->setCookie('admin', '8n1gt2hhajjtqu5...', Array)
#3 /var/www/sources/motorny/magento2/app/code/Magento/Backend/Model/Auth/Session.php(192): Magento\Framework\Stdlib\Cookie\PhpCookieManager->setPublicCookie('admin', '8n1gt2hhajjtqu5...', Object(Magento\Framework\Stdlib\Cookie\PublicCookieMetadata))
#4 /var/www/sources/motorny/magento2/app/code/Magento/Backend/App/Action/Plugin/Authentication.php(119): Magento\Backend\Model\Auth\Session->prolong()
#5 [internal function]: Magento\Backend\App\Action\Plugin\Authentication->aroundDispatch(Object(Magento\Config\Controller\Adminhtml\System\Config\Edit\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#6 /var/www/sources/motorny/magento2/lib/internal/Magento/Framework/Interception/Chain/Chain.php(68): call_user_func_array(Array, Array)
#7 /var/www/sources/motorny/magento2/lib/internal/Magento/Framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Configg...','dispatch', Object(Magento\Config\Controller\Adminhtml\System\Config\Edit\Interceptor), Array, 'designLoader')
#8 /var/www/sources/motorny/magento2/lib/internal/Magento/Framework/App/Action/Plugin/Design.php(39): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain{closure}(Object(Magento\Framework\App\Request\Http))
#9 [internal function]: Magento\Framework\App\Action\Plugin\Design->aroundDispatch(Object(Magento\Config\Controller\Adminhtml\System\Config\Edit\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#10 /var/www/sources/motorny/magento2/lib/internal/Magento/Framework/Interception/Chain/Chain.php(68): call_user_func_array(Array, Array)
#11 /var/www/sources/motorny/magento2/lib/internal/Magento/Framework/Interception/Interceptor.php(136): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Configg...','dispatch', Object(Magento\Config\Controller\Adminhtml\System\Config\Edit\Interceptor), Array, 'adminMassaction...')
#12 /var/www/sources/motorny/magento2/app/code/Magento/Backend/App/Action/Plugin/MassactionKey.php(33): Magento\Config\Controller\Adminhtml\System\Config\Edit\Interceptor->Magento\Framework\Interception{closure}(Object(Magento\Framework\App\Request\Http))
#13 [internal function]: Magento\Backend\App\Action\Plugin\MassactionKey->aroundDispatch(Object(Magento\Config\Controller\Adminhtml\System\Config\Edit\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#14 /var/www/sources/motorny/magento2/lib/internal/Magento/Framework/Interception/Interceptor.php(141): call_user_func_array(Array, Array)
#15 /var/www/sources/motorny/magento2/var/generation/Magento/Config/Controller/Adminhtml/System/Config/Edit/Interceptor.php(40): Magento\Config\Controller\Adminhtml\System\Config\Edit\Interceptor->___callPlugins('dispatch', Array, Array)
#16 /var/www/sources/motorny/magento2/lib/internal/Magento/Framework/App/FrontController.php(45): Magento\Config\Controller\Adminhtml\System\Config\Edit\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
#17 [internal function]: Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http))
#18 /var/www/sources/motorny/magento2/lib/internal/Magento/Framework/Interception/Interceptor.php(74): call_user_func_array(Array, Array)
#19 /var/www/sources/motorny/magento2/lib/internal/Magento/Framework/Interception/Chain/Chain.php(70): Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', Array)
#20 /var/www/sources/motorny/magento2/lib/internal/Magento/Framework/Interception/Interceptor.php(136): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Framewwo..', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'install')
#21 /var/www/sources/motorny/magento2/lib/internal/Magento/Framework/Module/Plugin/DbStatusValidator.php(69): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception{closure}(Object(Magento\Framework\App\Request\Http))
#22 [internal function]: Magento\Framework\Module\Plugin\DbStatusValidator->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#23 /var/www/sources/motorny/magento2/lib/internal/Magento/Framework/Interception/Interceptor.php(141): call_user_func_array(Array, Array)
#24 /var/www/sources/motorny/magento2/var/generation/Magento/Framework/App/FrontController/Interceptor.php(26): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, Array)
#25 /var/www/sources/motorny/magento2/lib/internal/Magento/Framework/App/Http.php(115): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
#26 /var/www/sources/motorny/magento2/lib/internal/Magento/Framework/App/Bootstrap.php(257): Magento\Framework\App\Http->launch()
#27 /var/www/sources/motorny/magento2/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http))

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: CustomerIssue: Cannot ReproduceCannot reproduce the issue on the latest `2.4-develop` branchIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: Format is not validGate 1 Failed. Automatic verification of issue format is failedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentbug report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions