Maximum number of cookies would be exceeded error in ÃÛ¶¹ÊÓÆµ Commerce
This article provides patches to resolve the error stating Maximum number of cookies would be exceeded  in ÃÛ¶¹ÊÓÆµ Commerce.
Description description
Affected products and versions
- MDVA-12304 patch applied using the Quality Patches Tool (QPT)
- APSB25-08 isolated security patch
- Cloud Patches for Commerce 1.1.4
Issue
Cookie-related issues in ÃÛ¶¹ÊÓÆµ Commerce are generating the following warning in the error logs:
report.WARNING: Unable to send the cookie. Maximum number of cookies would be exceeded.
Cause
The issue occurs because the maximum number of allowed cookies is set to 50.
Resolution resolution
Take the following steps to apply the patch to fix the issue:
-
Remove the MDVA-12304 patch if you applied it using the Quality Patches Tool (QPT).
- For ÃÛ¶¹ÊÓÆµ Commerce on cloud infrastructures, remove the patch from
.magento.env.yaml
. - For ÃÛ¶¹ÊÓÆµ Commerce on-premises installations, run the following command to revert the patch:
vendor/bin/magento/quality-patches revert MDVA-12304
- For ÃÛ¶¹ÊÓÆµ Commerce on cloud infrastructures, remove the patch from
-
Apply the attached patches according to your ÃÛ¶¹ÊÓÆµ Commerce version:
- For versions 2.4.4-p12, 2.4.5-p11, 2.4.6-p9 and 2.4.7-p4, apply the .
- For versions 2.4.4-p13, 2.4.5-p12, 2.4.6-p10, 2.4.7-p5 and 2.4.8, apply the .
Related reading
- Apply patches in the ÃÛ¶¹ÊÓÆµ Commerce Upgrade guide
- Best practices for distributing ÃÛ¶¹ÊÓÆµ Commerce patches at scale in the ÃÛ¶¹ÊÓÆµ Commerce Implementation Playbook
- Release notes for Commerce Cloud Tools Suite in the Commerce on Cloud Guide.
recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f