Last two days suddenly my logs are filled with this in Magento 2.3.2:

report.ERROR: Unable to send the cookie. Size of 'mage-messages' is 4191 bytes.

In Stores>Configuration>General>Web

My Default Cookie Settings are:

Cookie Lifetime: 3600(default)

Cookie Path:

Cookie Domain:

Use Http only: Yes

Cookie Restriction Mode: No

Does anybody have this issue? Can't find something related when I searched about

  • Any luck on your side finding anything about it? – ChaosTheoryV2X Aug 8 '19 at 20:31
  • @ChaosTheoryV2X No sorry... – G. G. Aug 29 '19 at 23:27
  • @G.G Did you solve this issue? – Mano M Nov 29 '19 at 12:38

The error is because in the cookie mage-messages exists exception trace. Try to increase the value of \Magento\Framework\Stdlib\Cookie\PhpCookieManager::MAX_COOKIE_SIZE = 40960; And see in a browser response header value for set-cookie: mage-messages

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.