1

Magento2.3.0

I have the following error in var/log/exception.log any idea how to come this error

main.CRITICAL: The product that was requested doesn't exist. Verify the product and try again. {"exception":"[object] (Magento\Framework\Exception\NoSuchEntityException(code: 0): The product that was requested doesn't exist. Verify the product and try again. at /var/www/vhosts/exmp.com/httpdocs/vendor/magento/module-catalog/Model/ProductRepository.php:290)"} []

Thanks

2 Answers 2

0

This type of error occurs when you delete a product, and try to view the product via an order placed or in the user's order history. Magento can't find it and throws an exception.

-1

I don't think that cron job has tried to install any extension and site crashed.

Extension will not installed automatically untill you run composer update or setup: upgrade command.

It may be issue with reindexing. May be cronjob is set you reindexing.

Try reindexing manually once.

php bin/magento indexer:reindex

I hope it will help you!

Thanks.

7
  • you have any idea for this error : main.CRITICAL: Unable to unserialize value. {"exception":"[object] (InvalidArgumentException(code: 0): Unable to unserialize value.
    – DK Thakur
    Feb 13, 2020 at 5:30
  • this error solution is done ?? main.CRITICAL: The product that was requested doesn't exist. Feb 13, 2020 at 5:34
  • I have been tring this for the last 2 weeks, it dose not solev, it comes again and again if there is any other solution, tell me about it,
    – DK Thakur
    Feb 13, 2020 at 5:41
  • this error solution main.CRITICAL: Unable to unserialize value. {"exception":"[object] (InvalidArgumentException(code: 0): Please refer this link and magento.stackexchange.com/questions/194010/… Feb 13, 2020 at 5:43
  • /vendor/magento/framework/Serialize/Serializer/Json.php replace this code line number 35 >> public function unserialize($string) { $result = json_decode($string, true); if (json_last_error() !== JSON_ERROR_NONE) { if(false !== @unserialize($string)){ return unserialize($string); } throw new \InvalidArgumentException('Unable to unserialize value.'); } return $result; } Feb 13, 2020 at 5:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.