In Checkout while Magento upgrade to 2.3.1 Exception #0 (InvalidArgumentException): Unable to serialize valueMagento Upgrade to 2.1.3 Module Disable ErrorCan't get customerId when magento tried to retrieveMagento 2.2.0 : Add to cart product error unable to unserialize valueMagento after upgrading to 2.2 issue coming while editing productI got the error 'Unable to serialize value' after upgrading the magento version to the 2.2.1Magento migration product error: UiComponentFactory->argumentsResolver('created_by', NULL)The image content is not valid in magento 2.2.2Magento 2: Error in magento2 product list when i have reviews with ratingDeleted ShipperHQ module causing error in “All Customers” section of Magento 2MsrpPriceCalculator Exception
Excluding a rectangular region from an image in FITS
Has there been any indication at all that further negotiation between the UK and EU is possible?
Heavily limited premature compiler translates text into excecutable python code
Pythagorean trigonometry identity
What is the meaning of "понаехать"?
"Correct me if I'm wrong"
Why isn't my calculation that we should be able to see the sun well beyond the observable universe valid?
How to maintain a closed environment for one person for a long period of time
Hit the Bulls Eye with T in the Center
Is it possible to get a mortgage with a custom duration in the US?
Are all Ringwraiths called Nazgûl in LotR?
Should the party get XP for a monster they never attacked?
I don't like coffee, neither beer. How to politely work my way around that in a business situation?
Cut the gold chain
How do I farm creepers for XP without them exploding?
Where's this swanky house and vineyard near a mountain?
Loss of power when I remove item from the outlet
career in signal processing
Is there any proof that high saturation and contrast makes a picture more appealing in social media?
Constitutionality of U.S. Democratic Presidential Candidate's Supreme Court Suggestion
Can I enter the UK for 24 hours from a Schengen area, holding an Indian passport?
How did Gollum enter Moria?
Non-misogynistic way to say “asshole”?
How does DC work with natural 20?
In Checkout while Magento upgrade to 2.3.1 Exception #0 (InvalidArgumentException): Unable to serialize value
Magento Upgrade to 2.1.3 Module Disable ErrorCan't get customerId when magento tried to retrieveMagento 2.2.0 : Add to cart product error unable to unserialize valueMagento after upgrading to 2.2 issue coming while editing productI got the error 'Unable to serialize value' after upgrading the magento version to the 2.2.1Magento migration product error: UiComponentFactory->argumentsResolver('created_by', NULL)The image content is not valid in magento 2.2.2Magento 2: Error in magento2 product list when i have reviews with ratingDeleted ShipperHQ module causing error in “All Customers” section of Magento 2MsrpPriceCalculator Exception
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
Getting below issue at checkout step after upgrade of magento to 2.3.1 from 2.1.8.
1 exception(s):
Exception #0 (InvalidArgumentException): Unable to serialize value.
Exception #0 (InvalidArgumentException): Unable to serialize value.
<pre>#1 MagentoCheckoutBlockOnepage->getSerializedCheckoutConfig() called at [vendor/magento/module-checkout/view/frontend/templates/onepage.phtml:26]
#2 include('/var/www/project...') called at [vendor/magento/framework/View/TemplateEngine/Php.php:59]
#3 MagentoFrameworkViewTemplateEnginePhp->render(&MagentoCheckoutBlockOnepageInterceptor#000000001d8c0f290000000035fe6de3#, '/var/www/project...', array()) called at [vendor/magento/framework/View/Element/Template.php:271]
#4 MagentoFrameworkViewElementTemplate->fetchView('/var/www/project...') called at [vendor/magento/framework/View/Element/Template.php:301]
#5 MagentoFrameworkViewElementTemplate->_toHtml() called at [vendor/magento/framework/View/Element/AbstractBlock.php:668]
#6 MagentoFrameworkViewElementAbstractBlock->toHtml() called at [vendor/magento/framework/View/Layout.php:557]
#7 MagentoFrameworkViewLayout->_renderBlock('checkout.root') called at [vendor/magento/framework/View/Layout.php:533]
#8 MagentoFrameworkViewLayout->renderNonCachedElement('checkout.root') called at [vendor/magento/framework/View/Layout.php:488]
#9 MagentoFrameworkViewLayout->renderElement('checkout.root', false) called at [vendor/magento/framework/View/Layout.php:585]
#10 MagentoFrameworkViewLayout->_renderContainer('content', false) called at [vendor/magento/framework/View/Layout.php:535]
#11 MagentoFrameworkViewLayout->renderNonCachedElement('content') called at [vendor/magento/framework/View/Layout.php:488]
#12 MagentoFrameworkViewLayout->renderElement('content', false) called at [vendor/magento/framework/View/Layout.php:585]
#13 MagentoFrameworkViewLayout->_renderContainer('main', false) called at [vendor/magento/framework/View/Layout.php:535]
#14 MagentoFrameworkViewLayout->renderNonCachedElement('main') called at [vendor/magento/framework/View/Layout.php:488]
Please let me know if someone faced this before.
checkout error magento2.3 upgrade magento-2.1.8
add a comment |
Getting below issue at checkout step after upgrade of magento to 2.3.1 from 2.1.8.
1 exception(s):
Exception #0 (InvalidArgumentException): Unable to serialize value.
Exception #0 (InvalidArgumentException): Unable to serialize value.
<pre>#1 MagentoCheckoutBlockOnepage->getSerializedCheckoutConfig() called at [vendor/magento/module-checkout/view/frontend/templates/onepage.phtml:26]
#2 include('/var/www/project...') called at [vendor/magento/framework/View/TemplateEngine/Php.php:59]
#3 MagentoFrameworkViewTemplateEnginePhp->render(&MagentoCheckoutBlockOnepageInterceptor#000000001d8c0f290000000035fe6de3#, '/var/www/project...', array()) called at [vendor/magento/framework/View/Element/Template.php:271]
#4 MagentoFrameworkViewElementTemplate->fetchView('/var/www/project...') called at [vendor/magento/framework/View/Element/Template.php:301]
#5 MagentoFrameworkViewElementTemplate->_toHtml() called at [vendor/magento/framework/View/Element/AbstractBlock.php:668]
#6 MagentoFrameworkViewElementAbstractBlock->toHtml() called at [vendor/magento/framework/View/Layout.php:557]
#7 MagentoFrameworkViewLayout->_renderBlock('checkout.root') called at [vendor/magento/framework/View/Layout.php:533]
#8 MagentoFrameworkViewLayout->renderNonCachedElement('checkout.root') called at [vendor/magento/framework/View/Layout.php:488]
#9 MagentoFrameworkViewLayout->renderElement('checkout.root', false) called at [vendor/magento/framework/View/Layout.php:585]
#10 MagentoFrameworkViewLayout->_renderContainer('content', false) called at [vendor/magento/framework/View/Layout.php:535]
#11 MagentoFrameworkViewLayout->renderNonCachedElement('content') called at [vendor/magento/framework/View/Layout.php:488]
#12 MagentoFrameworkViewLayout->renderElement('content', false) called at [vendor/magento/framework/View/Layout.php:585]
#13 MagentoFrameworkViewLayout->_renderContainer('main', false) called at [vendor/magento/framework/View/Layout.php:535]
#14 MagentoFrameworkViewLayout->renderNonCachedElement('main') called at [vendor/magento/framework/View/Layout.php:488]
Please let me know if someone faced this before.
checkout error magento2.3 upgrade magento-2.1.8
add a comment |
Getting below issue at checkout step after upgrade of magento to 2.3.1 from 2.1.8.
1 exception(s):
Exception #0 (InvalidArgumentException): Unable to serialize value.
Exception #0 (InvalidArgumentException): Unable to serialize value.
<pre>#1 MagentoCheckoutBlockOnepage->getSerializedCheckoutConfig() called at [vendor/magento/module-checkout/view/frontend/templates/onepage.phtml:26]
#2 include('/var/www/project...') called at [vendor/magento/framework/View/TemplateEngine/Php.php:59]
#3 MagentoFrameworkViewTemplateEnginePhp->render(&MagentoCheckoutBlockOnepageInterceptor#000000001d8c0f290000000035fe6de3#, '/var/www/project...', array()) called at [vendor/magento/framework/View/Element/Template.php:271]
#4 MagentoFrameworkViewElementTemplate->fetchView('/var/www/project...') called at [vendor/magento/framework/View/Element/Template.php:301]
#5 MagentoFrameworkViewElementTemplate->_toHtml() called at [vendor/magento/framework/View/Element/AbstractBlock.php:668]
#6 MagentoFrameworkViewElementAbstractBlock->toHtml() called at [vendor/magento/framework/View/Layout.php:557]
#7 MagentoFrameworkViewLayout->_renderBlock('checkout.root') called at [vendor/magento/framework/View/Layout.php:533]
#8 MagentoFrameworkViewLayout->renderNonCachedElement('checkout.root') called at [vendor/magento/framework/View/Layout.php:488]
#9 MagentoFrameworkViewLayout->renderElement('checkout.root', false) called at [vendor/magento/framework/View/Layout.php:585]
#10 MagentoFrameworkViewLayout->_renderContainer('content', false) called at [vendor/magento/framework/View/Layout.php:535]
#11 MagentoFrameworkViewLayout->renderNonCachedElement('content') called at [vendor/magento/framework/View/Layout.php:488]
#12 MagentoFrameworkViewLayout->renderElement('content', false) called at [vendor/magento/framework/View/Layout.php:585]
#13 MagentoFrameworkViewLayout->_renderContainer('main', false) called at [vendor/magento/framework/View/Layout.php:535]
#14 MagentoFrameworkViewLayout->renderNonCachedElement('main') called at [vendor/magento/framework/View/Layout.php:488]
Please let me know if someone faced this before.
checkout error magento2.3 upgrade magento-2.1.8
Getting below issue at checkout step after upgrade of magento to 2.3.1 from 2.1.8.
1 exception(s):
Exception #0 (InvalidArgumentException): Unable to serialize value.
Exception #0 (InvalidArgumentException): Unable to serialize value.
<pre>#1 MagentoCheckoutBlockOnepage->getSerializedCheckoutConfig() called at [vendor/magento/module-checkout/view/frontend/templates/onepage.phtml:26]
#2 include('/var/www/project...') called at [vendor/magento/framework/View/TemplateEngine/Php.php:59]
#3 MagentoFrameworkViewTemplateEnginePhp->render(&MagentoCheckoutBlockOnepageInterceptor#000000001d8c0f290000000035fe6de3#, '/var/www/project...', array()) called at [vendor/magento/framework/View/Element/Template.php:271]
#4 MagentoFrameworkViewElementTemplate->fetchView('/var/www/project...') called at [vendor/magento/framework/View/Element/Template.php:301]
#5 MagentoFrameworkViewElementTemplate->_toHtml() called at [vendor/magento/framework/View/Element/AbstractBlock.php:668]
#6 MagentoFrameworkViewElementAbstractBlock->toHtml() called at [vendor/magento/framework/View/Layout.php:557]
#7 MagentoFrameworkViewLayout->_renderBlock('checkout.root') called at [vendor/magento/framework/View/Layout.php:533]
#8 MagentoFrameworkViewLayout->renderNonCachedElement('checkout.root') called at [vendor/magento/framework/View/Layout.php:488]
#9 MagentoFrameworkViewLayout->renderElement('checkout.root', false) called at [vendor/magento/framework/View/Layout.php:585]
#10 MagentoFrameworkViewLayout->_renderContainer('content', false) called at [vendor/magento/framework/View/Layout.php:535]
#11 MagentoFrameworkViewLayout->renderNonCachedElement('content') called at [vendor/magento/framework/View/Layout.php:488]
#12 MagentoFrameworkViewLayout->renderElement('content', false) called at [vendor/magento/framework/View/Layout.php:585]
#13 MagentoFrameworkViewLayout->_renderContainer('main', false) called at [vendor/magento/framework/View/Layout.php:535]
#14 MagentoFrameworkViewLayout->renderNonCachedElement('main') called at [vendor/magento/framework/View/Layout.php:488]
Please let me know if someone faced this before.
checkout error magento2.3 upgrade magento-2.1.8
checkout error magento2.3 upgrade magento-2.1.8
edited Jun 12 at 12:50
Ahmed Zameer
5311
5311
asked Jun 12 at 11:18
groygroy
14610
14610
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Magento replaced the serialization by Json in 2.2.2 and later. So it may requires to updates all the database values that were previously saved by serialization.
To patch it and get everything working you try the following patch:
File: /vendor/magento/framework/Serialize/Serializer/Json.php
Find:
public function unserialize($string)
$result = json_decode($string, true);
if (json_last_error() !== JSON_ERROR_NONE)
throw new InvalidArgumentException('Unable to unserialize value.');
return $result;
replace by:
public function unserialize($string)
$result = json_decode($string, true);
if (json_last_error() !== JSON_ERROR_NONE)
if(false !== @unserialize($string))
return unserialize($string);
throw new InvalidArgumentException('Unable to unserialize value.');
return $result;
Still facing same issue after unserialize replacing method.
– groy
5 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%2f278103%2fin-checkout-while-magento-upgrade-to-2-3-1-exception-0-invalidargumentexceptio%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
Magento replaced the serialization by Json in 2.2.2 and later. So it may requires to updates all the database values that were previously saved by serialization.
To patch it and get everything working you try the following patch:
File: /vendor/magento/framework/Serialize/Serializer/Json.php
Find:
public function unserialize($string)
$result = json_decode($string, true);
if (json_last_error() !== JSON_ERROR_NONE)
throw new InvalidArgumentException('Unable to unserialize value.');
return $result;
replace by:
public function unserialize($string)
$result = json_decode($string, true);
if (json_last_error() !== JSON_ERROR_NONE)
if(false !== @unserialize($string))
return unserialize($string);
throw new InvalidArgumentException('Unable to unserialize value.');
return $result;
Still facing same issue after unserialize replacing method.
– groy
5 hours ago
add a comment |
Magento replaced the serialization by Json in 2.2.2 and later. So it may requires to updates all the database values that were previously saved by serialization.
To patch it and get everything working you try the following patch:
File: /vendor/magento/framework/Serialize/Serializer/Json.php
Find:
public function unserialize($string)
$result = json_decode($string, true);
if (json_last_error() !== JSON_ERROR_NONE)
throw new InvalidArgumentException('Unable to unserialize value.');
return $result;
replace by:
public function unserialize($string)
$result = json_decode($string, true);
if (json_last_error() !== JSON_ERROR_NONE)
if(false !== @unserialize($string))
return unserialize($string);
throw new InvalidArgumentException('Unable to unserialize value.');
return $result;
Still facing same issue after unserialize replacing method.
– groy
5 hours ago
add a comment |
Magento replaced the serialization by Json in 2.2.2 and later. So it may requires to updates all the database values that were previously saved by serialization.
To patch it and get everything working you try the following patch:
File: /vendor/magento/framework/Serialize/Serializer/Json.php
Find:
public function unserialize($string)
$result = json_decode($string, true);
if (json_last_error() !== JSON_ERROR_NONE)
throw new InvalidArgumentException('Unable to unserialize value.');
return $result;
replace by:
public function unserialize($string)
$result = json_decode($string, true);
if (json_last_error() !== JSON_ERROR_NONE)
if(false !== @unserialize($string))
return unserialize($string);
throw new InvalidArgumentException('Unable to unserialize value.');
return $result;
Magento replaced the serialization by Json in 2.2.2 and later. So it may requires to updates all the database values that were previously saved by serialization.
To patch it and get everything working you try the following patch:
File: /vendor/magento/framework/Serialize/Serializer/Json.php
Find:
public function unserialize($string)
$result = json_decode($string, true);
if (json_last_error() !== JSON_ERROR_NONE)
throw new InvalidArgumentException('Unable to unserialize value.');
return $result;
replace by:
public function unserialize($string)
$result = json_decode($string, true);
if (json_last_error() !== JSON_ERROR_NONE)
if(false !== @unserialize($string))
return unserialize($string);
throw new InvalidArgumentException('Unable to unserialize value.');
return $result;
answered 12 hours ago
MageAjMageAj
15614
15614
Still facing same issue after unserialize replacing method.
– groy
5 hours ago
add a comment |
Still facing same issue after unserialize replacing method.
– groy
5 hours ago
Still facing same issue after unserialize replacing method.
– groy
5 hours ago
Still facing same issue after unserialize replacing method.
– groy
5 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.
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%2f278103%2fin-checkout-while-magento-upgrade-to-2-3-1-exception-0-invalidargumentexceptio%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