I am getting the following error on stage site when I try to place order using check/money order.

The order gets placed but the user doesn't get redirected to success page.

It throws following error

enter image description here

  • Are you facing this issue on cart page as well ? like www.yoursite.com/checkout/cart Sep 6 '19 at 10:40
  • No only on checkout page
    – Arjun
    Sep 6 '19 at 10:44

Comment a code inside vendor\magento\module-catalog\Model\CategoryRepository.php file line no. 141

if (!$category->getId()) {
        throw NoSuchEntityException::singleField('id', $categoryId);

Please visit the link - https://community.magento.com/t5/Magento-2-x-Technical-Issues/No-such-entity-with-id-3/td-p/97833

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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