Questions tagged [unserialize]
The unserialize tag has no usage guidance.
41 questions
0
votes
0
answers
52
views
I have this page that is breaking with an error Interceptor does not exist
Can anyone help me figure out what is going on here? I have this unserialize error too.
./var/report/c6b420e9dda8515f51d3e9cac8e8fb054e5bfdbc6c9a7dd6a2feb1faa50d0f68:1:{"0":"Unable to ...
-2
votes
1
answer
197
views
Unable to Unserialize value error in Magento 2.4.6
I have had this problem for some time, on the admin custom grid. can anyone tell me any solution to this ?
Check This Below Screenshot For Reference:
https://i.imgur.com/5XvLhIh.png
0
votes
2
answers
123
views
Unable to Unserilize the values in phtml Magento2
I have added a blockfunction in (vendor\module\Block\Dealz) as
public function __construct
(
Magento\Framework\Serialize\SerializerInterface $serializer
) {
$this->serializer = $serializer;
}
...
0
votes
1
answer
5k
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] ...
0
votes
1
answer
83
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 ...
0
votes
1
answer
434
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'];
...
1
vote
1
answer
409
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 ...
1
vote
4
answers
12k
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
...
0
votes
1
answer
55
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.
0
votes
1
answer
115
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 ...
0
votes
1
answer
181
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/...
0
votes
1
answer
2k
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 ...
1
vote
3
answers
6k
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 ...
0
votes
1
answer
589
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
...
-1
votes
1
answer
213
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....
1
vote
0
answers
526
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....
0
votes
0
answers
295
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
0
answers
37
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
0
answers
370
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
1
answer
558
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 ...
0
votes
2
answers
85
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
1
answer
79
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
6
votes
1
answer
658
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 ...
1
vote
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 ...
2
votes
6
answers
3k
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
...
2
votes
1
answer
1k
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,
"...
1
vote
0
answers
239
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
0
answers
29
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 ...
3
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(...
0
votes
0
answers
583
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
0
answers
202
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
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/...
0
votes
0
answers
361
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
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:
...
0
votes
2
answers
618
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
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 ...
6
votes
5
answers
9k
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
1
answer
3k
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 ...
44
votes
18
answers
82k
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
2
answers
865
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
4
answers
7k
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:...