• Resolved kokodesignwebsite

    (@kokodesignwebsite)


    PHP Fatal error: Uncaught Error: Class "WC_Log_Levels" not found in /srv/htdocs/wp-content/plugins/woocommerce/includes/class-wc-logger.php:236 Stack trace: #0 /srv/htdocs/wp-content/plugins/woocommerce/includes/class-woocommerce.php(414): WC_Logger->critical('Uncaught Error:...', Array) #1 [internal function]: WooCommerce->log_errors() #2 {main} thrown in /srv/htdocs/wp-content/plugins/woocommerce/includes/class-wc-logger.php on line 236

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @kokodesignwebsite,

    Thank you for providing the error message. It indicates that WordPress is attempting to access the WC_Log_Levels class, which is part of WooCommerce’s logging system, but it can’t locate it. This usually happens due to a missing or corrupted file, WooCommerce not loading properly, or a potential conflict.

    To better understand your environment, could you please share your system status report? You can find it by going to: WooCommerce > Status > Get system report > Copy for support.

    Also, let’s try a fresh install of WooCommerce to rule out any file corruption or incomplete installation. Here’s what you can do:

    1. Deactivate and delete the current WooCommerce plugin from your dashboard (your store data will remain safe).
    2. Download the latest version of WooCommerce from ww.wp.xz.cn.
    3. Reinstall it manually via FTP or through the Plugins > Add New > Upload Plugin option.

    Let me know if that resolves the issue or if the error persists afterward.

    Thread Starter kokodesignwebsite

    (@kokodesignwebsite)

    done, here system log: https://pastebin.com/raw/qedLbzpY

    Zee

    (@doublezed2)

    Hello kokodesignwebsite,

    Thank you for your reply.

    I suspect that this error and the other error you reported here are caused by the same thing. Therefore, I recommend the same steps to troubleshoot this error.

    Posting same message here for visibility:

    When did this error first appear? I want to know if it is a result of a website update.

    The error you’re encountering could be caused by either a plugin conflict or an incomplete/broken WooCommerce update.

    To troubleshoot, I recommend manually updating the WooCommerce plugin to make sure all files are correctly installed. If the issue continues, try performing a conflict test to identify any plugin or theme causing the problem.

    Looking forward to your response. 🙂

    Plugin Support Kay U a11n

    (@kingsleyinfo)

    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 4 replies - 1 through 4 (of 4 total)

The topic ‘PHP Fatal error: Uncaught Error: Class “WC_Log_Levels”’ is closed to new replies.