Solved Unable to Unserialize Value” in Magento 2.3.0

vendor/magento/framework/Serialize/Serializer/Json.php class Json implements SerializerInterface { public function serialize($data) { $result = json_encode($data); if (false === $result) { throw new \InvalidArgumentException(‘Unable to serialize value.’); } return $result; } /** * {@inheritDoc} * @since 101.0.0 */ public function unserialize($string) { if($this->is_serialized($string)) { $string = $this->serialize($string); } $result = json_decode($string, true); if (json_last_error() !== JSON_ERROR_NONE) { throw…

Solved Unable to Unserialize Value” in Magento 2.3.0

vendor/magento/framework/Serialize/Serializer/Json.php class Json implements SerializerInterface { public function serialize($data) { $result = json_encode($data); if (false === $result) { throw new \InvalidArgumentException(‘Unable to serialize value.’); } return $result; } /** * {@inheritDoc} * @since 101.0.0 */ public function unserialize($string) { if($this->is_serialized($string)) { $string = $this->serialize($string); } $result = json_decode($string, true); if (json_last_error() !== JSON_ERROR_NONE) { throw…

Unable to run setup:static-content:deploy in Magento 2.3.2 gives an Undefined Offset error in modules.php

When I try to run setup:static-content:deploy -f , I get an error in errorhandler.php stating: “Notice: Undefined offset: 0 in ..public_html/vendor/magento/module-deploy/Source/Modules.php on line 49 Line 49 contains: list($area, $theme, $locale, $module, $fileName, $fullPath) = $info; I am using Magento 2.3.2 and deploying using -f option. Please suggest ways to fix this issue.

Magento2 – How can I get product description from Magento commerce products?

I am displaying particular product detail based on sku. Using following URL rest/V1/products/2490_BT got custom_attributes from whole curl response using $cust_att = $result[‘custom_attributes’]; getting following data. How to get description only? [9] => Array ( [attribute_code] => has_options [value] => 0 ) [10] => Array ( [attribute_code] => tax_class_id [value] => 2 ) [11] =>…