egoodman Posted June 4, 2020 Share Posted June 4, 2020 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! Link to comment Share on other sites More sharing options...
tomerg3 Posted June 4, 2020 Share Posted June 4, 2020 How many products? Are you using any 3rd party shipping modules? or is the shop modified in any way? Link to comment Share on other sites More sharing options...
egoodman Posted June 4, 2020 Author Share Posted June 4, 2020 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.... Link to comment Share on other sites More sharing options...
tomerg3 Posted June 4, 2020 Share Posted June 4, 2020 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 Link to comment Share on other sites More sharing options...
egoodman Posted June 5, 2020 Author Share Posted June 5, 2020 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 Link to comment Share on other sites More sharing options...
egoodman Posted June 6, 2020 Author Share Posted June 6, 2020 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 Link to comment Share on other sites More sharing options...
Chill_user Posted June 9, 2020 Share Posted June 9, 2020 Check you hosting for "max execution time" f.e 30secs Check your payment rules, if you have too many onces, the cart will stuck. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now