Jump to content
egoodman

Site locks up on large cart orders

Recommended Posts

A site I set up for a client is having an ongoing issue with large carts freezing the site. If a lot of products are placed into the cart sometimes the cart freezes or throws an error 500. The site stays locked until that cart is deleted. I'm using PHP 7.0 on the hosting and the site runs smoothly other than this.

This is using PrestaShop version 1.7.5.0

Does anyone have ideas I can look into? I've searched through forums but cannot find what I'm looking for. Thanks all!

Share this post


Link to post
Share on other sites

How many products?

Are you using any 3rd party shipping modules? or is the shop modified in any way?

Share this post


Link to post
Share on other sites

Installed modules are Pay by Phone. Only activates it the few times they specifically need it, so it's always disabled. PayPal Module, SeoSa Coupon Generator, Sorting out Products by Category, Stamps.com and USPS Rates....

This is pretty unconventional but since my client is a manufacturer, other customers send him purchase orders for their large orders. He logs in on their behalf and does the orders in the back end so it depletes his inventory.... Some of these orders are huge so he'l may put 30 of these, 20 of these...totaling hundreds of items.... 

Share this post


Link to post
Share on other sites

Try to disable the shipping modules and see if there is a difference. It's possible that the usps module you are using is not caching properly 

Share this post


Link to post
Share on other sites

OK, I took out a lot of modules, the USPS is the last on my plate to try, will do after hours to not interrupt sales...I'll let you know soon. Thank you

Share this post


Link to post
Share on other sites

I ran the debug mode and came up with: 

(1/1) ContextErrorException

Notice: Trying to get property of non-object

in b4d9809d6261d69232a6cd789262c6d5559ad389_2.file.megamenu.tpl.php line 152

 

Share this post


Link to post
Share on other sites

Check you hosting for "max execution time" f.e 30secs

Check your payment rules, if you have too many onces, the cart will stuck.

Share this post


Link to post
Share on other sites

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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More