Please change the unserialize function in vendor/magento/framework/Serialize/Serializer/Json.php.
You also need to check whether the string is serialized or not.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
public function unserialize($string) { /************** Custom code ***********/ if($this->is_serialized($string)) { $string = $this->serialize($string); } /************** Custom code ***********/ $result = json_decode($string, true); if (json_last_error() !== JSON_ERROR_NONE) { throw new \InvalidArgumentException('Unable to unserialize value.'); } return $result; } |
If you want get query string params in controller file,...
Create di.xml and add the below code Magemonkey/Redirect/etc/frontend/di.xml [crayon-628464346014d237748572/] Create...
You can try below code to change local date to...
Step 1: First you need to add registration.php file in...
Step1 : Override message.js in current theme file on the...