Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

«Unable to send the cookie. Size of 'mage-messages' is <…> bytes.» #186

Open
dmitrii-fediuk opened this issue Oct 21, 2020 · 2 comments

Comments

@dmitrii-fediuk
Copy link
Contributor

dmitrii-fediuk commented Oct 21, 2020

/customer/account/loginpost/referer/ahr0chm6ly93d3cudhjhzgvmdxjuaxr1cmvjb21wyw55lmnvlnvrl2jsb2cvynv5zxjzlwd1awrlcw%2c%2c/
#1 Magento\Framework\Stdlib\Cookie\PhpCookieManager->setCookie() called at [vendor/magento/framework/Stdlib/Cookie/PhpCookieManager.php:121]
#2 Magento\Framework\Stdlib\Cookie\PhpCookieManager->setPublicCookie() called at [vendor/magento/module-theme/Controller/Result/MessagePlugin.php:140]
#3 Magento\Theme\Controller\Result\MessagePlugin->setCookie() called at [vendor/magento/module-theme/Controller/Result/MessagePlugin.php:95]
#4 Magento\Theme\Controller\Result\MessagePlugin->afterRenderResult() called at [vendor/magento/framework/Interception/Interceptor.php:146]
#5 Magento\Framework\Controller\Result\Redirect\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#6 Magento\Framework\Controller\Result\Redirect\Interceptor->___callPlugins() called at [generated/code/Magento/Framework/Controller/Result/Redirect/Interceptor.php:26]
#7 Magento\Framework\Controller\Result\Redirect\Interceptor->renderResult() called at [vendor/magento/framework/App/Http.php:141]
#8 Magento\Framework\App\Http->launch() called at [vendor/magento/framework/App/Bootstrap.php:261]
#9 Magento\Framework\App\Bootstrap->run() called at [pub/index.php:40]
@dmitrii-fediuk
Copy link
Contributor Author

I have implemented a logging in vendor/magento/framework/Stdlib/Cookie/PhpCookieManager.php

@dmitrii-fediuk
Copy link
Contributor Author

It is still occuring:

{"0":"Unable to send the cookie. Size of 'mage-messages' is 5092 bytes.","1":"<pre>#1 Magento\Framework\Stdlib\Cookie\PhpCookieManager->setCookie() called at [vendor/magento/framework/Stdlib/Cookie/PhpCookieManager.php:121]
#2 Magento\Framework\Stdlib\Cookie\PhpCookieManager->setPublicCookie() called at [vendor/magento/module-theme/Controller/Result/MessagePlugin.php:140]
#3 Magento\Theme\Controller\Result\MessagePlugin->setCookie() called at [vendor/magento/module-theme/Controller/Result/MessagePlugin.php:95]
#4 Magento\Theme\Controller\Result\MessagePlugin->afterRenderResult() called at [vendor/magento/framework/Interception/Interceptor.php:146]
#5 Magento\Framework\Controller\Result\Redirect\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#6 Magento\Framework\Controller\Result\Redirect\Interceptor->___callPlugins() called at [generated/code/Magento/Framework/Controller/Result/Redirect/Interceptor.php:26]
#7 Magento\Framework\Controller\Result\Redirect\Interceptor->renderResult() called at [vendor/magento/framework/App/Http.php:141]
#8 Magento\Framework\App\Http->launch() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#9 Magento\Framework\App\Http\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#10 Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/mage2pro/core/Framework/Plugin/App/Http.php:16]
#11 Df\Framework\Plugin\App\Http->aroundLaunch() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#12 Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#13 Magento\Framework\App\Http\Interceptor->___callPlugins() called at [generated/code/Magento/Framework/App/Http/Interceptor.php:26]
#14 Magento\Framework\App\Http\Interceptor->launch() called at [vendor/magento/framework/App/Bootstrap.php:261]
#15 Magento\Framework\App\Bootstrap->run() called at [pub/index.php:40]
</pre>","url":"/checkout/cart/add/uenc/aHR0cHM6Ly93d3cudHJhZGVmdXJuaXR1cmVjb21wYW55LmNvLnVrL2N1YmUtZnVybml0dXJlL2N1YmUtaG9uZXk,/product/192/","script_name":"/index.php"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant