cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to serialize value Magento 2.2.6

Unable to serialize value Magento 2.2.6

Hi,

 

we installed fresh magento 2.2.6, imported all products and installed custom theme with extensions. Page was working fine for 1 week, today after flushing cache I get an error and can not access frontend, admin is working fine.

 

Frontend error:

There has been an error processing your request

Exception printing is disabled by default for security reasons.

Error log record number: 1380112499148

 

Error in var/report/file-number:

{"0":"Unable to serialize value.","1":"#0 \/home\/buylandia\/public_html\/vendor\/magento\/framework\/App\/PageCache\/Kernel.php(153): Magento\\Framework\\Serialize\\Serializer\\Json->serialize(Array)\

n#1 \/home\/buylandia\/public_html\/vendor\/magento\/module-page-cache\/Model\/Controller\/Result\/BuiltinPlugin.php(96): Magento\\Framework\\App\\PageCache\\Kernel->process(Object(Magento\\Framework\\App\\Response\\Http\\Interceptor))\

n#2 \/home\/buylandia\/public_html\/vendor\/magento\/framework\/Interception\/Interceptor.php(146): Magento\\PageCache\\Model\\Controller\\Result\\BuiltinPlugin->afterRenderResult(Object(Magento\\Framework\\View\\Result\\Page\\Interceptor), Object(Magento\\Framework\\View\\Result\\Page\\Interceptor), Object(Magento\\Framework\\App\\Response\\Http\\Interceptor))\

 

n#3\/home\/buylandia\/public_html\/vendor\/magento\/framework\/Interception\/Interceptor.php(153): Magento\\Framework\\View\\Result\\Page\\Interceptor->Magento\\Framework\\Interception\\{closure}(Object(Magento\\Framework\\App\\Response\\Http\\Interceptor))\

 

n#4\/home\/buylandia\/public_html\/generated\/code\/Magento\/Framework\/View\/Result\/Page\/Interceptor.php(130): Magento\\Framework\\View\\Result\\Page\\Interceptor->___callPlugins('renderResult', Array, Array)\

 

n#5 \/home\/buylandia\/public_html\/vendor\/magento\/framework\/App\/Http.php(139): Magento\\Framework\\View\\Result\\Page\\Interceptor->renderResult(Object(Magento\\Framework\\App\\Response\\Http\\Interceptor))\

 

n#6\/home\/buylandia\/public_html\/generated\/code\/Magento\/Framework\/App\/Http\/Interceptor.php(24): Magento\\Framework\\App\\Http->launch()\

 

n#7 \/home\/buylandia\/public_html\/vendor\/magento\/framework\/App\/Bootstrap.php(257): Magento\\Framework\\App\\Http\\Interceptor->launch()\

 

n#8 \/home\/buylandia\/public_html\/index.php(39): Magento\\Framework\\App\\Bootstrap->run(Object(Magento\\Framework\\App\\Http\\Interceptor))\

 

n#9 {main}","url":"\/index.php","script_name":"\/index.php"}

 

Anyone able to help?

2 REPLIES 2

Re: Unable to serialize value Magento 2.2.6

Hello @sasupo

 

Regarding the serialisation problem you are facing i think you should try using this command

 

sudo php bin/magento setup:static-content:deploy de_DE --jobs=0 -f

 

And for further clarification please check out this link

 

https://magento.stackexchange.com/questions/202448/magento-2-2-1-unable-to-serialize-value

 

 

Hope it helps!

If it works for you kudos and accept as solution

Re: Unable to serialize value Magento 2.2.6

Hello @sasupo

 

Please follow below steps:

Please remove var cache as sudo rm -rf var/cache var/page_cache var/view_preprocessed

sudo php bin/magento setup:upgrade

sudo php bin/magento setup:static-content:deploy -f

sudo php bin/magento cache:flush

sudo chmod -R 0777 var/ pub/ /generated

Now try again.

Manish Mittal
https://www.manishmittal.com/