6

I'm experiencing this error on my site quite often:

Exception #0 (Magento\Framework\Exception\NoSuchEntityException): No such entity with cartId =

It's not using multiple stores, so the entity_ids are not an issue as stated in many other solutions I have tried.

Need this error fixed, can't find anything helpful anywhere else.

  • Where have you this error, in which page ? did you make some changes recently ? – PЯINCƏ Sep 6 '18 at 15:53
  • Literally aftering adding a product to the cart and going to cart from the product page we get this error. Haven't made any changes to the checkout files recently. – Howliee Sep 6 '18 at 15:56
  • Did you recently upgrade magento version ? – Pawan Sep 6 '18 at 16:03
  • So when you add a product to cart, a product is added well to cart and when you go to cart you have this message and the cart is not displayed right – PЯINCƏ Sep 6 '18 at 16:05
  • That's correct Prince yeah and no Pawan I'm using the latest version – Howliee Sep 6 '18 at 16:05
0

To solve this issue, Find customer_entity table in your database and check the following column structure and if not available then create it.

Name : failures_num ,  Type : smallint(6) , Default : 0
Name : first_failure , Type : timestamp , Default : NULL
Name : lock_expires ,  Type : timestamp , Default : NULL

After that run reindex command (php bin/magento ind:rei)

Hope, It may be helpful for you.

  • Thank you but it hasn't worked – Howliee Sep 6 '18 at 16:22
0

I see a lot of people are having issues with this. It also seems there might be quite a lot of different causes. I would like to share mine in case someone else is pulling out their hair (like I did).

In my case the firefox plugin uMatrix was causing the issue.

I described it here https://github.com/magento/magento2/issues/5847#issuecomment-496153411

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.