Wishlist error during upgrade to Adobe Commerce versions 2.3.4-p1 or 2.3.5
This article provides a fix for the known issue when upgrading to Adobe Commerce versions 2.3.4-p1 and 2.3.5 related to a wishlist error during the upgrade to these versions.
Affected products and versions
- Adobe Commerce on cloud infrastructure 2.3.4-p1 and 2.3.5
- Adobe Commerce on-premises 2.3.4-p1 and 2.3.5
Issue
When upgrading your Adobe Commerce (all deployment methods) and Magento Open Source to version 2.3.5 or 2.3.4-p1, you could get a wishlist error (detailed below) from the module:
Magento_Wishlist
Upgrading from Adobe Commerce (all deployment methods)/Magneto Open Source version 2.3.4-p1 to version 2.3.4-p2 or from Adobe Commerce (all deployment methods)/Magneto Open Source version 2.3.5 to version 2.3.5-p1 will fix the error.
Steps to reproduce:
Upgrade your Adobe Commerce (all deployment methods)/Magento Open Source to version 2.3.4-p1 or 2.3.5.
Expected result:
The upgrade process to Adobe Commerce (all deployment methods)/Magento Open Source version 2.3.4-p1 or 2.3.5 completes normally.
Actual result:
During the upgrade, you get this error:
Module ‘Magento_Wishlist’:
Unable to apply data patch Magento\Wishlist\Setup\Patch\Data\CleanUpData for module Magento_Wishlist. Original exception message: Unable to unserialize value. Error: Syntax error
Solutions
- If you were upgrading to Adobe Commerce (all deployment methods)/Magneto Open Source version 2.3.5, upgrade to version 2.3.5-p1. Adobe Commerce (all deployment methods)/Magento Open Source version 2.3.5-p1 replaces 2.3.5.
- If you were upgrading to Adobe Commerce (all deployment methods)/Magento Open Source version 2.3.4-p1, upgrade to version 2.3.4-p2. Adobe Commerce (all deployment methods)/Magneto Open Source version 2.3.4-p2 replaces version 2.3.4-p1.
Related reading
In our developer documentation: