Unable to Serialize Value Magento 2.2.6












0














On my site at http://139.59.47.100/ ,anyother url(http://139.59.47.100/daily-deals) except the home page is coming fine but for the homepage,i am getting the error "unable to serialize value".I have tried several fixes available for this like clearing the cache,recompiling,re deploying static assets etc.



Below is the exact error message.




{"0":"Unable to serialize value.","1":"#0 /var/www/html/vendor/magento/framework/App/PageCache/Kernel.php(153): MagentoFrameworkSerializeSerializerJson->serialize(Array)n#1 /var/www/html/vendor/magento/module-page-cache/Model/Controller/Result/BuiltinPlugin.php(96): MagentoFrameworkAppPageCacheKernel->process(Object(MagentoFrameworkAppResponseHttpInterceptor))n#2 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(146): MagentoPageCacheModelControllerResultBuiltinPlugin->afterRenderResult(Object(MagentoFrameworkViewResultPageInterceptor), Object(MagentoFrameworkViewResultPageInterceptor), Object(MagentoFrameworkAppResponseHttpInterceptor))n#3 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewResultPageInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkAppResponseHttpInterceptor))n#4 /var/www/html/generated/code/Magento/Framework/View/Result/Page/Interceptor.php(130): MagentoFrameworkViewResultPageInterceptor->___callPlugins('renderResult', Array, Array)n#5 /var/www/html/vendor/magento/framework/App/Http.php(139): MagentoFrameworkViewResultPageInterceptor->renderResult(Object(MagentoFrameworkAppResponseHttpInterceptor))n#6 /var/www/html/generated/code/Magento/Framework/App/Http/Interceptor.php(24): MagentoFrameworkAppHttp->launch()n#7 /var/www/html/vendor/magento/framework/App/Bootstrap.php(257): MagentoFrameworkAppHttpInterceptor->launch()n#8 /var/www/html/index.php(39): MagentoFrameworkAppBootstrap->run(Object(MagentoFrameworkAppHttpInterceptor))n#9 {main}","url":"/","script_name":"/index.php"}











share|improve this question






















  • did you check why the value can't be serialized? Unfourtunatly magento2 won't tell you the exact problem why the value can't be serialized, but you can modify the code for dbugging purposes in order to print the json error
    – Philipp Sander
    yesterday


















0














On my site at http://139.59.47.100/ ,anyother url(http://139.59.47.100/daily-deals) except the home page is coming fine but for the homepage,i am getting the error "unable to serialize value".I have tried several fixes available for this like clearing the cache,recompiling,re deploying static assets etc.



Below is the exact error message.




{"0":"Unable to serialize value.","1":"#0 /var/www/html/vendor/magento/framework/App/PageCache/Kernel.php(153): MagentoFrameworkSerializeSerializerJson->serialize(Array)n#1 /var/www/html/vendor/magento/module-page-cache/Model/Controller/Result/BuiltinPlugin.php(96): MagentoFrameworkAppPageCacheKernel->process(Object(MagentoFrameworkAppResponseHttpInterceptor))n#2 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(146): MagentoPageCacheModelControllerResultBuiltinPlugin->afterRenderResult(Object(MagentoFrameworkViewResultPageInterceptor), Object(MagentoFrameworkViewResultPageInterceptor), Object(MagentoFrameworkAppResponseHttpInterceptor))n#3 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewResultPageInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkAppResponseHttpInterceptor))n#4 /var/www/html/generated/code/Magento/Framework/View/Result/Page/Interceptor.php(130): MagentoFrameworkViewResultPageInterceptor->___callPlugins('renderResult', Array, Array)n#5 /var/www/html/vendor/magento/framework/App/Http.php(139): MagentoFrameworkViewResultPageInterceptor->renderResult(Object(MagentoFrameworkAppResponseHttpInterceptor))n#6 /var/www/html/generated/code/Magento/Framework/App/Http/Interceptor.php(24): MagentoFrameworkAppHttp->launch()n#7 /var/www/html/vendor/magento/framework/App/Bootstrap.php(257): MagentoFrameworkAppHttpInterceptor->launch()n#8 /var/www/html/index.php(39): MagentoFrameworkAppBootstrap->run(Object(MagentoFrameworkAppHttpInterceptor))n#9 {main}","url":"/","script_name":"/index.php"}











share|improve this question






















  • did you check why the value can't be serialized? Unfourtunatly magento2 won't tell you the exact problem why the value can't be serialized, but you can modify the code for dbugging purposes in order to print the json error
    – Philipp Sander
    yesterday
















0












0








0







On my site at http://139.59.47.100/ ,anyother url(http://139.59.47.100/daily-deals) except the home page is coming fine but for the homepage,i am getting the error "unable to serialize value".I have tried several fixes available for this like clearing the cache,recompiling,re deploying static assets etc.



Below is the exact error message.




{"0":"Unable to serialize value.","1":"#0 /var/www/html/vendor/magento/framework/App/PageCache/Kernel.php(153): MagentoFrameworkSerializeSerializerJson->serialize(Array)n#1 /var/www/html/vendor/magento/module-page-cache/Model/Controller/Result/BuiltinPlugin.php(96): MagentoFrameworkAppPageCacheKernel->process(Object(MagentoFrameworkAppResponseHttpInterceptor))n#2 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(146): MagentoPageCacheModelControllerResultBuiltinPlugin->afterRenderResult(Object(MagentoFrameworkViewResultPageInterceptor), Object(MagentoFrameworkViewResultPageInterceptor), Object(MagentoFrameworkAppResponseHttpInterceptor))n#3 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewResultPageInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkAppResponseHttpInterceptor))n#4 /var/www/html/generated/code/Magento/Framework/View/Result/Page/Interceptor.php(130): MagentoFrameworkViewResultPageInterceptor->___callPlugins('renderResult', Array, Array)n#5 /var/www/html/vendor/magento/framework/App/Http.php(139): MagentoFrameworkViewResultPageInterceptor->renderResult(Object(MagentoFrameworkAppResponseHttpInterceptor))n#6 /var/www/html/generated/code/Magento/Framework/App/Http/Interceptor.php(24): MagentoFrameworkAppHttp->launch()n#7 /var/www/html/vendor/magento/framework/App/Bootstrap.php(257): MagentoFrameworkAppHttpInterceptor->launch()n#8 /var/www/html/index.php(39): MagentoFrameworkAppBootstrap->run(Object(MagentoFrameworkAppHttpInterceptor))n#9 {main}","url":"/","script_name":"/index.php"}











share|improve this question













On my site at http://139.59.47.100/ ,anyother url(http://139.59.47.100/daily-deals) except the home page is coming fine but for the homepage,i am getting the error "unable to serialize value".I have tried several fixes available for this like clearing the cache,recompiling,re deploying static assets etc.



Below is the exact error message.




{"0":"Unable to serialize value.","1":"#0 /var/www/html/vendor/magento/framework/App/PageCache/Kernel.php(153): MagentoFrameworkSerializeSerializerJson->serialize(Array)n#1 /var/www/html/vendor/magento/module-page-cache/Model/Controller/Result/BuiltinPlugin.php(96): MagentoFrameworkAppPageCacheKernel->process(Object(MagentoFrameworkAppResponseHttpInterceptor))n#2 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(146): MagentoPageCacheModelControllerResultBuiltinPlugin->afterRenderResult(Object(MagentoFrameworkViewResultPageInterceptor), Object(MagentoFrameworkViewResultPageInterceptor), Object(MagentoFrameworkAppResponseHttpInterceptor))n#3 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewResultPageInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkAppResponseHttpInterceptor))n#4 /var/www/html/generated/code/Magento/Framework/View/Result/Page/Interceptor.php(130): MagentoFrameworkViewResultPageInterceptor->___callPlugins('renderResult', Array, Array)n#5 /var/www/html/vendor/magento/framework/App/Http.php(139): MagentoFrameworkViewResultPageInterceptor->renderResult(Object(MagentoFrameworkAppResponseHttpInterceptor))n#6 /var/www/html/generated/code/Magento/Framework/App/Http/Interceptor.php(24): MagentoFrameworkAppHttp->launch()n#7 /var/www/html/vendor/magento/framework/App/Bootstrap.php(257): MagentoFrameworkAppHttpInterceptor->launch()n#8 /var/www/html/index.php(39): MagentoFrameworkAppBootstrap->run(Object(MagentoFrameworkAppHttpInterceptor))n#9 {main}","url":"/","script_name":"/index.php"}








magento2






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked yesterday









Dhruv Marwha

1063




1063












  • did you check why the value can't be serialized? Unfourtunatly magento2 won't tell you the exact problem why the value can't be serialized, but you can modify the code for dbugging purposes in order to print the json error
    – Philipp Sander
    yesterday




















  • did you check why the value can't be serialized? Unfourtunatly magento2 won't tell you the exact problem why the value can't be serialized, but you can modify the code for dbugging purposes in order to print the json error
    – Philipp Sander
    yesterday


















did you check why the value can't be serialized? Unfourtunatly magento2 won't tell you the exact problem why the value can't be serialized, but you can modify the code for dbugging purposes in order to print the json error
– Philipp Sander
yesterday






did you check why the value can't be serialized? Unfourtunatly magento2 won't tell you the exact problem why the value can't be serialized, but you can modify the code for dbugging purposes in order to print the json error
– Philipp Sander
yesterday












1 Answer
1






active

oldest

votes


















0














I have encountered this. To get around it, I used this solution: https://magento.stackexchange.com/a/198109/69191



Other solutions are resetting permissions and flushing your Magento caches, including things like memcache and Redis.






share|improve this answer





















  • I will try this and let you know.I have tried changing permissions and also flushing the default magento caches.
    – Dhruv Marwha
    18 hours ago










  • Tried that solution but it did not work.Anything else that i can try?
    – Dhruv Marwha
    18 hours ago











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "479"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f256791%2funable-to-serialize-value-magento-2-2-6%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














I have encountered this. To get around it, I used this solution: https://magento.stackexchange.com/a/198109/69191



Other solutions are resetting permissions and flushing your Magento caches, including things like memcache and Redis.






share|improve this answer





















  • I will try this and let you know.I have tried changing permissions and also flushing the default magento caches.
    – Dhruv Marwha
    18 hours ago










  • Tried that solution but it did not work.Anything else that i can try?
    – Dhruv Marwha
    18 hours ago
















0














I have encountered this. To get around it, I used this solution: https://magento.stackexchange.com/a/198109/69191



Other solutions are resetting permissions and flushing your Magento caches, including things like memcache and Redis.






share|improve this answer





















  • I will try this and let you know.I have tried changing permissions and also flushing the default magento caches.
    – Dhruv Marwha
    18 hours ago










  • Tried that solution but it did not work.Anything else that i can try?
    – Dhruv Marwha
    18 hours ago














0












0








0






I have encountered this. To get around it, I used this solution: https://magento.stackexchange.com/a/198109/69191



Other solutions are resetting permissions and flushing your Magento caches, including things like memcache and Redis.






share|improve this answer












I have encountered this. To get around it, I used this solution: https://magento.stackexchange.com/a/198109/69191



Other solutions are resetting permissions and flushing your Magento caches, including things like memcache and Redis.







share|improve this answer












share|improve this answer



share|improve this answer










answered yesterday









Marisa

679




679












  • I will try this and let you know.I have tried changing permissions and also flushing the default magento caches.
    – Dhruv Marwha
    18 hours ago










  • Tried that solution but it did not work.Anything else that i can try?
    – Dhruv Marwha
    18 hours ago


















  • I will try this and let you know.I have tried changing permissions and also flushing the default magento caches.
    – Dhruv Marwha
    18 hours ago










  • Tried that solution but it did not work.Anything else that i can try?
    – Dhruv Marwha
    18 hours ago
















I will try this and let you know.I have tried changing permissions and also flushing the default magento caches.
– Dhruv Marwha
18 hours ago




I will try this and let you know.I have tried changing permissions and also flushing the default magento caches.
– Dhruv Marwha
18 hours ago












Tried that solution but it did not work.Anything else that i can try?
– Dhruv Marwha
18 hours ago




Tried that solution but it did not work.Anything else that i can try?
– Dhruv Marwha
18 hours ago


















draft saved

draft discarded




















































Thanks for contributing an answer to Magento Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f256791%2funable-to-serialize-value-magento-2-2-6%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

1300-talet

1300-talet

Display a custom attribute below product name in the front-end Magento 1.9.3.8