Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [unserialize]

The tag has no usage guidance.

0
votes
0answers
21 views

How to fix composer.json error: Unable to unserialize value?

We have installed the third party module and it's working fine. However, when we tried to open the Mageplaza>SMTP configuration via the admin panel, I'm getting the below error Could anyone please ...
0
votes
0answers
24 views

I can not unserialize this string

I have saved this string into the database. when I trying to decode this string by below sentence this does not working. \Magento\Framework\Serialize\Serializer\Json $serializer $this->...
0
votes
0answers
31 views

Unable to unserialize value in Magento 2

Whenever I try to access my local or integration environment I am getting this error. Unable to unserialize value. Exception #0 (InvalidArgumentException): Unable to unserialize value. #0 /Users/...
2
votes
1answer
36 views

Unserialize large data not working in Magento 1.9

I've created a custom module on my Magento 1.4.0 website, which create a csv feed file with all products and you can add dynamically what product attributes to display in the file. Something like in ...
0
votes
2answers
57 views

I am getting 'Unable to unserialize value' while editing a customer in magento 2.2

I did data migration from Magento 1.9 to Magento 2.2 and now I am unable to edit a customer. I am getting this on customer edit page in admin side. I tried this but it didn't work for me. I added ...
0
votes
1answer
34 views

Unable to unserialize value error when customer data is not display on editing the details?

Getting error: Unable to unserialize value vendor/magento/framework/serialize/json.php
4
votes
0answers
75 views

Magento Migration Unable to serialize value from sales_flat_order_item

I'm getting error while Migrating data from 1.9.3.3 to 2.2.6 CE. Error I'm getting is like below: Could not unserialize data of sales_flat_order_item.product_options with record id 7. I've ...
0
votes
1answer
78 views

How to save serilized data in product's text backend_type custom attribute

I'm working in Magento 2.2.5. Basically, I have created a custom product attribute serilized_data with text as backend_type by using below file and want to save custom options of product in this ...
0
votes
0answers
85 views

Failure reason: 'Unable to unserialize value, string is corrupted.' after upgrade magento 2.1.5 to magento 2.2.6

I have upgraded Magento 2.1.5 to Magento 2.2.6 but after that I am getting error in running upgrade command: Error converting field value in table quote_item_option where option_id=85330 using ...
1
vote
1answer
223 views

Detecting possible issues with serialized data after Magento 2.2 upgrade

While upgrading Magento from 2.1.x to 2.2.x version. We have found an error like "Unable to unserialized value" in few tables. For Example: - "info" column of a magento_logging_event table, "...
0
votes
0answers
108 views

Unable to unserialize value Braintree magento 2.2.4

I faced below error in cart page after data migration magento 1 to magento 2 1 exception(s): Exception #0 (InvalidArgumentException): Unable to unserialize value. Exception #0 (...
0
votes
0answers
140 views

How to add custom option during add to cart in Magento 2.2?

I want to add the custom option when click on add to cart button in Magento 2.2 I am using the code in Observer: <?php namespace Vendor\Delivery\Observer; use Magento\Framework\Event\...
2
votes
0answers
21 views

Magento 2. Searialize Library Questions

Magento 2 provides some serializers Magento\Framework\Serialize\Serializer\Json Magento\Framework\Serialize\Serializer\Serialize Now they say this For security reasons, SerializerInterface ...
2
votes
2answers
711 views

Magento 2.2.2, Unable to unserialize value, magento_umask and edting Json.php did not help

After upgrade I'm getting below error in my local : Exception #0 (InvalidArgumentException): Unable to unserialize value. #0 myPath/vendor/magento/module-theme/Controller/Result/MessagePlugin.php(...
0
votes
0answers
231 views

Set form value to Magento Session

I am using Magento 1.9.3.6 version. I need form values in the controller which is other than form action. So I serialized the form values and set into the Magento Core session like below. When I ...
1
vote
0answers
180 views

After upgrading magento version 2.1.0 to 2.2.1 getting error unable to unserialize value

1 exception(s): Exception #0 (InvalidArgumentException): Unable to unserialize value. Exception #0 (InvalidArgumentException): Unable to unserialize value. #0 /var/www/html/vendor/magento/module-...
1
vote
1answer
684 views

Error on image upload with REST api

Referring to MIME type not valid when uploading image using REST API I am trying to upload image for a product through REST api. Request Code: API: http://192.168.0.133/index.php/rest/V1/products/...
0
votes
0answers
340 views

Unable to unserialize value - when adding to website magento 2.2

Migrated fine to 2.2. Now when we open a product and change text for example all works and saves. When trying to assign to another website we get the error Unable to unserialize value. Log shows: [...
2
votes
1answer
2k views

Magento 2.2: Unable to unserialize value

After running composer require magento/product-community-edition 2.2.0 --no-update composer update I ran bin/magento setup:upgrade But while running this command I get the following error: ...
0
votes
2answers
212 views

unserialized in Magento\Framework\Message\Collection error

I have a integration using Magento 2 and Wordpress. For a specific plugin, when it is enabled I get this error in admin and frontend Fatal error: Magento\Framework\Message\Manager::getMessages(): ...
0
votes
1answer
2k views

Magento 2 Unable to unserialize value [duplicate]

I am getting following error on Magento 2.2 after upgrading from 2.1.9 1 exception(s): Exception #0 (InvalidArgumentException): Unable to unserialise value. The string on which this error is ...
4
votes
3answers
3k views

Magento 2.2 error: Unable to unserialize value

After upgrade to the version 2.2 my modules which has serialized values does not work any more. Here is some info from the Magento 2.2 release notes: Significant enhancements in platform security ...
3
votes
1answer
2k views

Magento 2.2 - Unable to unserialize value, when editing categories

The following actions produce the results listed below each action. If a category has more than 50 items it seems to always happen, categories with less than 50 items will usually work, but will ...
20
votes
13answers
28k views

Magento 2.2: Unable to unserialize value?

Running into issues on a site running Magento 2.2.0-rc3.0/PHP 7.0.23 The following issue occurs with all 3rd party extensions either enabled or disabled. When adding an item to comparison from ...
2
votes
2answers
450 views

Serialized array in controller

This is my script <script> function callAjax(){ var customoptionhtml = document.getElementById("customoption-dynamic").innerHTML; //alert(test);//alert(jQuery(test).text()); var ...
2
votes
2answers
2k views

Magento 2 how to unserialize backend config

I've created Magento 2 module that saves a particular configuration. Screenshot: Now I want to use this value in a frontend block. If I check the core_config table, the value is saved like this: a:1:...