Unable to Serialize Value Magento 2.2.6
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
add a comment |
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
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
add a comment |
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
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
magento2
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
add a comment |
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
add a comment |
1 Answer
1
active
oldest
votes
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.
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
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
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
add a comment |
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.
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
add a comment |
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.
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.
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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