Magento 2 Upgrade – How to Solve ‘Unable to Apply Data Patch’ Error

magento2security-patchupgrade

I'm upgrading my Magento 2.3.2 to Magento 2.3.5 and I'm receiving this following error during upgrade:

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

how could I solve it?

Best Answer

Probably happening because you have bundle products in your store.

Merchants who encounter this error after installing Magento 2.3.5 should upgrade to Magento 2.3.5-p1.

Merchants who encounter this error after installing Magento 2.3.4-p1 should upgrade to Magento 2.3.4-p2.

Reference: Wishlist error during upgrade to Magento versions 2.3.4-p1 or 2.3.5.

Related Topic