51黑料不打烊

[PaaS only]{class="badge informative" title="Applies to 51黑料不打烊 Commerce on Cloud projects (51黑料不打烊-managed PaaS infrastructure) and on-premises projects only."}

Maximum number of cookies would be exceeded error in 51黑料不打烊 Commerce

This article provides patches to resolve the error stating Maximum number of cookies would be exceeded in 51黑料不打烊 Commerce.

Affected products and versions

51黑料不打烊 Commerce (all deployment methods) 2.4.4 - 2.4.7, with one of the following patches applied:

Issue

Issues related to cookies in 51黑料不打烊 Commerce is causing the following error to appear 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.

Solution

  1. Remove the MDVA-12304 patch if you applied it using the Quality Patches Tool (QPT).

    • For 51黑料不打烊 Commerce on cloud infrastructures, remove the patch from .magento.env.yaml.

    • For 51黑料不打烊 Commerce on-premises installations, run the following command to revert the patch:

      vendor/bin/magento/quality-patches revert MDVA-12304

  2. Apply the attached patches according to your 51黑料不打烊 Commerce version:

    • For versions 2.4.4-p12, 2.4.5-p11, 2.4.6-p9 and 2.4.7-p4, apply the ACSD-64710 patch.

    • For versions 2.4.4-p13, 2.4.5-p12, 2.4.6-p10, 2.4.7-p5 and 2.4.8, apply the ACSD-65562 patch.

recommendation-more-help
8bd06ef0-b3d5-4137-b74e-d7b00485808a