The error message you provided indicates that there is a problem with a plugin called WooCommerce. Specifically, the error is occurring in a file called CoreMenu.php within the plugin. The error message states that there is an issue with trying to access an array offset on a value that is null.
Here are a few things you can try to troubleshoot the issue:
- Check for plugin conflicts: Deactivate all other plugins to see if the issue is resolved. If it is, reactivate them one by one to identify the conflicting plugin.
- Check for theme conflicts: Switch to a default WordPress theme (e.g. Twenty Twenty-One) to see if the issue is resolved. If it is, there may be a conflict with your current theme.
- Check for outdated plugin or theme: Make sure that the WooCommerce plugin and your theme are up to date.
- Check for server resources: Make sure that your server has enough resources to handle the traffic and usage.
- Check for any script running in background: Check for any script or cron job that might be running in background that is causing the high CPU usage.
- Check for any security issues: run a scan and check for any security vulnerabilities that may be causing the issue.
It’s recommended to check the above points, and if you are still unable to resolve the problem, it may be necessary to consult with a developer or a system administrator with more experience in troubleshooting server and plugin issues. Also, you can contact Cloudways support team and provide them with the error report, they can help you to further investigate the issue.
Howdy @gorfeas
Just to clarify, those CPU usage spikes also happen on a fresh (test) WordPress installation, with only WooCommerce installed and set up?
To help you further, I’d like to understand more about your setup.
Could you please send me a copy of your site’s System Status? You can find it via WooCommerce > Status. Select Get system report and then Copy for support.
Once you’ve done that, you can paste the text in https://gist.github.com/ and feel free to change/remove your site URL in the report for privacy reasons.
You can paste the Gist link here in your reply, once you have that.
-
This reply was modified 3 years, 3 months ago by
anastas10s. Reason: added missing word
We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.