Add to cart button lagging (5 sec)
-
Hey there, I asked my hosting provider to help but they sent me here, so I hope you can take a look! My website josnierop.nl is reasonably fast (not on mobile unfortunately, I’ll have to look into that). There’s one problem: the add to cart woocommerce button is very slow, on this page:?https://www.josnierop.nl/product/online-cursus/ There are a few errors but I don’t know how to fix it. One customer already reported this problem ?? My hosting provider gave the following information: – It’s an error in the file “wc-cart-functions.php”, line 185 – This line leads to a PHP warning:?if ( WC()->session->order_awaiting_payment > 0 ) { – This is a line from the error log: [Tue Mar 12 16:44:32.327927 2024] [lsapi:warn] [pid 455836:tid 139988528150272] [client 172.71.154.234:28122] [host?https://www.josnierop.nl]?Backend log: PHP Warning: Attempt to read property “order_awaiting_payment” on null in /home/u16265p11915/domains/josnierop.nl/public_html/wp-content/plugins/woocommerce/includes/wc-cart-functions.php on line 185\n, referer:?https://www.josnierop.nl/ontwikkelomgeving/maatschappelijke-oorzaken-depressie-burn-out/ “ontwikkelingomgeving” means “staging website”, which I deleted last week. – browser console errors:?https://media.zxcs.nl/i/8kNLL5YB You might be able to tell me how to fix this issue? Thank you so much! Kind regards, Jos P.S. I'm using Redis cache and Cloudflare but as far as I can tell all my optimisation plugins actually speed up my site, so there is a specific issue with the add to cart button. I already found a 'solution' on the internet to increase memory limit, but that didn't do anything. P.P.S. I'm not a developer/expert.
The page I need help with: [log in to see the link]
Viewing 13 replies - 1 through 13 (of 13 total)
Viewing 13 replies - 1 through 13 (of 13 total)
- The topic ‘Add to cart button lagging (5 sec)’ is closed to new replies.