Sorry to hear you are having such a problem @cgscomputers and thank you for reporting the issue.
Let’s start with some basic troubleshooting questions:
1) Can you please let me know what version of the plugin, WordPress and PHP are you running?
2) What e-Commerce plugin is the user using and what version?
Looking forward to hearing from you.
Hello @cgscomputers
Can you please also tell us how many plugins you have installed on this website?
Hey Robert thanks for the quick reply.
I do believe I’ve figured this one out, at least for now. After enabling WP Debugging with the client’s permission, I was able to determine that the WP Memory was being exhausted. Had to bump it from 128MB to 512MB in order to resolve the issue. I’m not sure what has changed that suddenly the system needs 3x more memory than it used to, but I do update plugins as soon as updates are available so it could be any number of conflicts. No new plugins have been installed – just so happens your plugin was the only one that kept turning up in the logs. I don’t see any indication of other resources such as CPU increasing though – just seems to be memory.
For the record, on this site, there are 3 monster plugins – WooCommerce, JetPack, and Paid Memberships Pro (latest versions). The customer also purchased extensions for WooCommerce and Paid Memberships Pro, each extension counts as an additional plugin so the plugin count for this site way higher than what I’d normally consider appropriate (like 40) – but the large majority of these extensions are not much more than small code snippets. The site runs on PHP 7.3. It’s still odd though, all of these have been running for almost 2 years with base memory and I’ve had no issues until now.
I’ll keep monitoring for any additional error messages, but haven’t had a problem ::knock on wood:: since I upped the memory.
Hello @cgscomputers
The error was an out of memory error when running a specific query. In this case the query is trying to get a list of installed plugins. Hence why I asked you how many plugins does the website have. Though, 40 plugins are not too much and you should not have such a problem.
However, over two years we and all the other plugin developers have added new features to our plugins, so it is normal for software to require more memory over time. So that might be the case.
Anyway, if you want us to look further into this, please send us the System information file to [email protected] and we’ll start looking into it.
Have a great day.
@robert681 just an FYI, this also occurred on another site of mine. This one doesn’t have any ‘heavy’ plugins and the error only occurred when doing a purge all on my cache. Same error message though referencing a PHP memory exhaustion on /wp-content/plugins/wp-security-audit-log/classes/Sensors/Database.php.
I bumped the PHP memory from 256MB to 512MB and that resolved the issue. May be worth nothing though, that something has changed with this plugin seeming to be the common denominator. Everything appears to be working normally though after the memory adjustment.
Thanks for the updaet @cgscomputers
Every bit of information helps. We will keep an eye on this issue.