Jump to content

Repeated Cart Error in Logs - Cart cannot be loaded or an order has already been placed using ...


Recommended Posts

  • 4 weeks later...

I have the same error and i have no clue how to fix this...

 

NemoPS can you give me more details about the page refreshed?

 

This came out of nowhere.... the orders where placed without problems a week ago... what a nightmare

 

 

Please, if someone has any info about this, would be amazing

Link to comment
Share on other sites

  • 2 months later...
  • 4 months later...
  • 2 months later...

Hi There,

 

I had the same problem with the PrestaShop webshop of a customer from me en I found the fix.

 

The problem is that the id_cart is already used in the orders table in the column id_cart. So you have a duplicated id_cart, so automatically the cart will be cleared by PrestaShop.

 

To fix this:

 

- Check in the orders table what the highest id_cart is. For example 10045.

- Do an update to your database by resetting the Auto-increment value of the cart table to 10045 + 1 by executing this query :  ALTER TABLE `ps_cart` AUTO_INCREMENT = 10046;

 

PS: ps_ in the query should be changed with your store database prefix

 

Now the problem should be fixed.

 

Good luck for you all!!

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...