Posted - 07/24/2023 : 12:58:30
Hi, I've been having intermittent issues with not only my ECT cart becoming unresponsive, but all PHP (such as my contact form) is becoming unresponsive. After a lengthy ticket with my host, they found the following errors.
[24-Jul-2023 02:08:44 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 48234696 bytes) in /home/j***e/public_html/vsadmin/inc/inccart.php on line 1317 [24-Jul-2023 02:24:38 UTC] PHP Warning: trim() expects parameter 1 to be string, array given in /home/j***e/public_html/vsadmin/inc/inccart.php on line 2707
(I edited out my ftp username with *'s)
These two errors have appeared many times in the last few days.
Coincidentally, lately I've been getting more spam in my contact form and also I got a spam bot-filled order in my shopping cart... and that order had thousands of products added to the cart.
My hunch is that I have bots adding way too much product to my cart and it's exhausting my PHP resources on my server, which is causing all PHP to become unresponsive. At one point my entire website crashed.
I'm currently running Ecommerce Plus PHP v7.4.11
Is there a fix to prevent this? Or has it already been fixed if I upgrade to v. 7.5.8 ??
Edited by - jghomestead on 07/24/2023 13:01:17
|