Questions tagged [unserialize]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
150 views

Magento 2.4: Unable to unserialize value

When i launch a REST API call to see all orders on my site i get this error: main.CRITICAL: Report ID: webapi-62432e964b1e4; Message: Unable to unserialize value. {"exception":"[object] ...
user avatar
0 votes
1 answer
37 views

Unable to unserialize on Sales -> Order page

after upgrading the theme I can not access the sales -> order page any more with the following error. I disabled all third party extensions to solve possible conflict without success. I am using ...
user avatar
  • 1
0 votes
1 answer
49 views

How do I use unserialize method instead of json_decode

How do I use unserialize method instead of json_decode, by inject vendor/magento/framework/Serialize/Serializer/ foreach ($results as $result) { $incrementId = $result['increment_id']; ...
user avatar
  • 518
1 vote
1 answer
64 views

Unable to run magento 2 commands after upgrade

I upgraded magento 2.1.4 to 2.3.5p1. I first upgraded it to 2.2.3 and then to 2.3.5 through command line. After upgrade, I am getting Fatal error: Uncaught InvalidArgumentException: Unable to ...
user avatar
  • 377
1 vote
4 answers
4k views

how to properly serialize / unserialize magento 2 models to json format

I'm trying to retrieve some data from a controller in a serialized format that I can unserialize later. For example, I have created an entity with the following data fields MyEntity entity_id ...
user avatar
  • 531
0 votes
1 answer
32 views

1 exception(s): Exception #0 (InvalidArgumentException): Unable to unserialize value

1 exception(s): Exception #0 (InvalidArgumentException): Unable to unserialize value when i add new customer and open existing customer In Admin side, Error is mention in above screenshot.
user avatar
  • 1
0 votes
1 answer
86 views

Magento 2.3 Exception : Unable to unserialize value on some products URL Problem?

Can any one help? I have searched for solutions for Exception : Unable to unserialize value. however all of the solutions don't seem to work for me. I have a bunch of products that when you try to ...
user avatar
0 votes
1 answer
78 views

Fatal error: Uncaught InvalidArgumentException: Unable to unserialize value

How to fix this error. Fatal error: Uncaught InvalidArgumentException: Unable to unserialize value. in /home/sbaelect/domains/sbaelectric.com/public_html/vendor/magento/framework/Serialize/Serializer/...
user avatar
0 votes
1 answer
1k views

How to fix "Unable to unserialize value. Error: Syntax error" Magento 2.3.2

Hello, Guys! I get this error, please help me solve it... String value: a:1:{s:14:"logotype_image";s:57:"/frontend/Alias/mysite/web/images/logo_grey.svg";} And json_last_error = 4 The string ...
user avatar
0 votes
3 answers
4k views

Magento 2: Unable to unserialize value. Error: Control character error, possibly incorrectly encoded

I am getting Bellow Error when i try to search default Magento search https://temp.com/catalogsearch/result/?q=Hiper Unable to unserialize value. Error: Control character error, possibly incorrectly ...
user avatar
0 votes
1 answer
499 views

Magento 2.3.1 unserialize error

In magento 2.3.1 I have this code: public function encrypt($params) { return base64_encode($this->encryptor->encrypt(serialize($params))); } /** * Decrypt tracking key ...
user avatar
  • 912
-1 votes
1 answer
168 views

Unable to unserialize value

I have a problem in my Magento 2.2.5 shop. I did the migration from magento 1.9.2.1 When I want to change the category from a product I get the next error: Unable to unserialize value. The exception....
user avatar
  • 39
1 vote
0 answers
346 views

Unable to serialize value. at /public_html/vendor/magento/framework/Serialize/Serializer/Json.php:26)"} []

main.CRITICAL: Unable to serialize value. {"exception":"[object] (InvalidArgumentException(code: 0): Unable to serialize value. at /public_html/vendor/magento/framework/Serialize/Serializer/Json....
user avatar
0 votes
0 answers
90 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 ...
user avatar
  • 1,124
0 votes
0 answers
30 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->...
user avatar
  • 21
0 votes
0 answers
285 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/...
user avatar
  • 799
2 votes
1 answer
469 views

Unserialize large data not working in Magento 1.9

I've created a custom module on my Magento 1.9.4.0 website, which creates a CSV feed file with all products and you can add dynamically what product attributes to display in the file. Something like ...
user avatar
  • 527
0 votes
2 answers
82 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 ...
user avatar
0 votes
1 answer
55 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
user avatar
6 votes
1 answer
587 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 ...
user avatar
  • 3,664
0 votes
1 answer
1k 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 ...
user avatar
  • 574
2 votes
6 answers
2k 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 ...
user avatar
  • 1,967
2 votes
1 answer
898 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, "...
user avatar
1 vote
0 answers
236 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\...
user avatar
  • 1,967
2 votes
0 answers
27 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 ...
user avatar
2 votes
2 answers
3k 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(...
user avatar
  • 2,009
0 votes
0 answers
486 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 ...
user avatar
  • 1,094
1 vote
0 answers
199 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-...
user avatar
1 vote
1 answer
2k 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/...
user avatar
0 votes
0 answers
359 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: [...
user avatar
  • 101
2 votes
1 answer
4k 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: ...
user avatar
  • 335
0 votes
2 answers
435 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(): ...
user avatar
  • 136
0 votes
1 answer
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 ...
user avatar
4 votes
4 answers
8k 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 ...
user avatar
3 votes
1 answer
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 ...
user avatar
  • 709
43 votes
17 answers
74k 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 ...
user avatar
  • 709
2 votes
2 answers
772 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 ...
user avatar
  • 1,355
2 votes
4 answers
6k 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:...
user avatar
  • 1,218