我们无法将Magento 2.1.7升级到2.2.4。它给出错误“无法反序列化值,字符串已损坏。”
完成所有正确的操作后,然后运行:php bin / magento setup:upgrade
模块“ Magento_Sales”: 正在升级数据。错误转换表
product_options
中的字段mg_sales_ord er_item
,其中item_id
= 2658、2669、2720、2731、2740、2747、2811、2813、2825、2 856、2864、2895 ,2899,2909,2912,2931,2951,2957,2965,2969,2979,2995,303 0,3031,3034,3044,3047,3050,3053,3060,3067,3075,3115,3124,3125,3134, 3181、3185、3204、3226、3236、3237、3251、3269、3288、3337、3348、3369、3378、3 397, 3409,3424,3437,3442,3445,3462,3463,3475,3480,3500,3502,3547,355 7,3587,3609,3639,3648,3673,3675,3680,3701,3713,3732,3755,3765 ,3771,3778,3779,3791,3802,3805,3821,3866,3870,3883,3886,3912,3934,3948,3949,3966,3975,4016,4048,4063,4077,4098,4103,4122, 4142、4144、4204、423 5、4248、4264、4265、4276、4309、4325、4330、4332、4357, 4379,4410,4414,4442,4492,4518,4520,4551,4594,4598,4603,4655,4677,4680,4697,4753,4773,4774,4780,4781,4800,4818,4834,4839,4856 ,4865,4892,4915,4945,4984,502 0,5032,5036,5068,5077,5157,5162,5167,5325,5385,5389,5410,5415,5449,5462,5476,5557,5563,5645, 5739、5758、5951、6017、6066、6258、6268、6278、6 306、6326、6342、6404、6433、6521、6576、6585、6651、6683、6687、6748、6857、696 9、7122、7169、7177、7213、7218、7241、7253、7299、7323、7342、7404 ,7515,7639,7683,7713,7717,7719,7779,7822,7865,7898,7952、7987、8006、8019、8044、8087、8089、8094,8112、8120、8138,Magento \ Sales \ Setup \序列化数据转换ter。 修正数据或替换为有效值。 失败原因:“无法反序列化值,字符串已损坏。”
===============
我们已经审查并尝试了数百篇文章中介绍的解决方案,即: https://github.com/magento/magento2/issues/12411 https://magento.stackexchange.com/questions/194010/magento-2-2-unable-to-unserialize-value https://magento.stackexchange.com/questions/196216/magento-2-2-error-unable-to-unserialize-value https://github.com/magento/magento2/issues/12411 https://magento.stackexchange.com/questions/194010/magento-2-2-unable-to-unserialize-value https://magecomp.com/blog/solved-unable-to-unserialize-value-magento-2-2/ https://community.magento.com/t5/Magento-2-x-Version-Upgrades/Upgrade-to-Magento-2-2-1-Unable-to-unserialize-value/m-p/81304#M884 https://magento.stackexchange.com/questions/194010/magento-2-2-unable-to-unserialize-value https://github.com/magento/magento2/issues/11899 https://www.scommerce-mage.com/blog/solved-unable-to-unserialize-value-magento-2.html Magento 2 Data Migration Edit Product Unable to unserialize value
当然阅读:
https://devdocs.magento.com/guides/v2.2/release-notes/backward-incompatible-changes/ https://devdocs.magento.com/guides/v2.2/ext-best-practices/tutorials/serialized-to-json-data-upgrade.html