• Resolved gorfeas

    (@gorfeas)


    Hosting at cloudways.com they proposed I ask for help here in order to debug the issue. CPU usage climbs to 100% sometimes making the website unusable. The error report is as follows:

    [Fri Jan 13 15:49:58.549416 2023] [proxy_fcgi:error] [pid 15915:tid 140625609418496] [client 85.74.253.164:0] AH01071: Got error 'PHP message: PHP Warning:  Trying to access array offset on value of type null in /home/672479.cloudwaysapps.com/xsxmzksmze/public_html/wp-content/plugins/woocommerce/src/Admin/Features/Navigation/CoreMenu.php on line 246', referer: https://wordpress-672479-2729943.cloudwaysapps.com/wp-admin/plugins.php?plugin_status=all&paged=1&s

    Any suggestions on what could be causing this?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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:

    1. 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.
    2. 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.
    3. Check for outdated plugin or theme: Make sure that the WooCommerce plugin and your theme are up to date.
    4. Check for server resources: Make sure that your server has enough resources to handle the traffic and usage.
    5. 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.
    6. 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
    Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    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.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘CPU 100% usage caused by woocommerce’ is closed to new replies.