enter image description here

When I click this setting icon I get this following error.

1 exception(s):
Exception #0 (Magento\Framework\Exception\NoSuchEntityException): Requested product doesn't exist

Exception #0 (Magento\Framework\Exception\NoSuchEntityException): Requested product doesn't exist
#0 /var/www/html/isac-test/vendor/magento/module-review/Block/Form.php(150): Magento\Catalog\Model\ProductRepository->getById('50', false, '1')
#1 /var/www/html/isac-test/app/design/frontend/Altius/isec/Magento_Catalog/templates/custom/review-form.phtml(156): Magento\Review\Block\Form->getProductInfo()
#2 /var/www/html/isac-test/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/var/www/html/i...')
#3 /var/www/html/isac-test/vendor/magento/framework/View/Element/Template.php(255): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Review\Block\Form), '/var/www/html/i...', Array)

I deployed, compiled but couldn't identify why this error occurs.

  • Can you please run these both commnd php bin/magento indexer:reindex and php bin/magento cache:clean. Check again adding the product to the cart. – Saurabh Dwivedi Dec 29 '18 at 11:22

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.