How to fix the «Unable to unserialize value» failure while upgrading Magento from 2.1.x to 2.2.x?

serialization
bug
bug-fix
upgrade
json
magento22

(Dmitry Fedyuk) #1

Replace the line


with the following one:

$result = unserialize($string);

How to fix the «Error filtering template: Unable to unserialize value» Magento 2.2 failure of a CMS widget rendering?
How did I upgrade gymstar.ca from Magento 2.1.9 to 2.2.6?