• Critical error after updated to WordPress 6.8.2

    Error Level: E_ERROR
    Message: Uncaught Error: Call to undefined function WC() in /home/xxx/public_html/wp-content/plugins/wt-smart-coupons-for-woocommerce/public/modules/auto_coupon/auto_coupon.php:427
    Stack trace: 0 /home/xxx/public_html/wp-content/plugins/wt-smart-coupons-for-woocommerce/public/modules/auto_coupon/auto_coupon.php(611): Wt_Smart_Coupon_Auto_Coupon_Public->auto_apply_coupons() 1 /home/xxx/public_html/wp-includes/class-wp-hook.php(324): Wt_Smart_Coupon_Auto_Coupon_Public->maybe_auto_apply_on_wp_loaded('') 2 /home/xxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) 3 /home/xxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 4 /home/xxx/public_html/wp-settings.php(749): do_action('wp_loaded') 5 /home/xxx/public_html/wp-config.php(96): require_once('/home/xxx/…') 6 /home/xxx/public_html/wp-load.php(50): require_once('/home/xxx/…') 7 /home/xxx/public_html/wp-blog-header.php(13): require_once('/home/xxx
    File: /home/xxx/public_html/wp-content/plugins/wt-smart-coupons-for-woocommerce/public/modules/auto_coupon/auto_coupon.php
    Line: 427
    Request: /product/1-float-valve-for-lbc-100-125-150-175/
    Referrer: https%3A%2F%2Fwww.google.com%2F

Viewing 1 replies (of 1 total)
  • Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi @lcf,

    Thank you for sharing the error details.

    Let me check this with our team to better understand what’s happening. In the meantime, could you please help us with the following so we can get a complete picture of your setup:

    1. A copy of your System Status Report from WooCommerce > Status > Get system report.
    2. When exactly are you seeing this critical error — is it happening on specific product pages, during checkout, or on every page load?

    You can share the details via this link. Once we have this additional info, we’ll be able to look into it more thoroughly and guide you with the right fix.

Viewing 1 replies (of 1 total)

The topic ‘Critical Error’ is closed to new replies.