Questions tagged [serialize]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
3 answers
387 views

magento 2.3.5 getting serialize error on checkout page

After upgrading Magento version from 2.2.7 to 2.3.5 everything was working fine. But suddenly checkout page is showing an error: 1 exception(s): Exception #0 (InvalidArgumentException): Unable to ...
Vinod Kumar's user avatar
  • 2,045
1 vote
1 answer
442 views

Magento 1.9 - How to add serial number in sales orders list & invoice list?

How to add serial number for both order list and invoice list, sales->order sales->order->invoice If i add below code in -> app\design\adminhtml\default\default\template\sales\order\view\items....
zus's user avatar
  • 155
0 votes
1 answer
107 views

Not able to run command after upgrade - Magento2

I have upgraded the Magento version after that I have run cache clean, flush and permission command. above cache-related commands are working good but php bin/magento setup:upgrade command isn't ...
Jimit Bhavsar's user avatar
0 votes
0 answers
638 views

Magento 2 - How to use dynamic row system to populate form in custom shipping module

I built a Magento 2 custom module for shipping that has a select drop down field for users to choose an option. I want to be able to set those options in the admin for the module using the dynamic ...
stanhook's user avatar
  • 131
0 votes
0 answers
30 views

SetAdditionalOptions is not working in Magento2.3.1

I am facing a weird problem with setAddtionalOptions for checkout. Following is my code to set options using observer. This is my event.xml file, which calls the observer to set additional options. &...
Bhupendra Jadeja's user avatar
1 vote
0 answers
52 views

Magento Json Serializer vs native PHP

Is there any special reason why I should use the Magento framework classes such as JSON Serializer vs just native PHP? https://github.com/magento/magento2/blob/2.3/lib/internal/Magento/Framework/...
Goose84's user avatar
  • 2,581
1 vote
0 answers
502 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....
Mage Explorer's user avatar
2 votes
1 answer
2k views

Magento2: During reindex Serialization failure: 1213 Deadlock found when trying to get lock

During php bin/magento indexer:reindex SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction, query was: INSERT INTO `...
Sylvester's user avatar
  • 2,204
0 votes
0 answers
367 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/...
summu's user avatar
  • 847
5 votes
0 answers
705 views

Custom Model Relationship (CMS Page + Product)

I am trying to assign a Product Object to a CMS Page Object, so when you have the CMS Page Object, you can do something like this: $product = $page->getProduct(); I have modified the CMS Page ...
user3218861's user avatar
1 vote
1 answer
146 views

How to modify the model data after it loaded?

I have the model that needed to modify serialized data to array after the form loaded. What is the best way I can use for it? I tried to use _afterLoad() method, but it worked only for collections.
Джоув Лебедев's user avatar