• Resolved annelyse

    (@annelyse)


    I have a fatal error, maybe a conflict with auto coupon plugin ?

    [08-Oct-2025 09:41:53 UTC] PHP Fatal error: Uncaught Error:
    Call to a member function get_order_id() on array
    in /wp-content/plugins/woo-discount-rules/v2/App/Controllers/ManageDiscount.php:3166

    Stack trace: 0 /wp-includes/class-wp-hook.php(324): Wdr\App\Controllers\ManageDiscount::validateCoupon(true, Object(WC_Product_Simple), Object(WC_Coupon), Array) 1 /wp-includes/plugin.php(205): WP_Hook->apply_filters(true, Array) 2 /wp-content/plugins/woocommerce/includes/class-wc-coupon.php(968): apply_filters(‘woocommerce_coupon_is_valid_for_product’, true, Object(WC_Product_Simple), Object(WC_Coupon), Array) 3 /wp-content/plugins/woocommerce/includes/class-wc-discounts.php(920): WC_Coupon->is_valid_for_product(Object(WC_Product_Simple), Array) 4 /wp-content/plugins/woocommerce/includes/class-wc-discounts.php(1144): WC_Discounts->validate_coupon_excluded_items(Object(WC_Coupon)) 5 /wp-content/plugins/woo-auto-coupons/wac_functions.php(532): WC_Discounts->is_coupon_valid(Object(WC_Coupon)) 6 /wp-content/plugins/woo-auto-coupons/wac_functions.php(750): wac_is_coupon_valid(‘Noemie15’) 7 /wp-includes/class-wp-hook.php(324): wac_apply_coupons(Object(WC_Cart)) 8 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) 9 /wp-includes/plugin.php(517): WP_Hook->do_action(Array) 10 /wp-content/plugins/woocommerce/includes/class-wc-cart-session.php(285): do_action(‘woocommerce_cart_loaded_from_session’, Object(WC_Cart)) 11 /wp-includes/class-wp-hook.php(324): WC_Cart_Session->get_cart_from_session(”) 12 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) 13 /wp-includes/plugin.php(517): WP_Hook->do_action(Array) 14 /wp-settings.php(749): do_action(‘wp_loaded’) 15 /wp-config.php(88): require_once(‘wp-settings.php’) 16 /wp-load.php(50): require_once(‘wp-config.php’) 17 /wp-admin/admin-ajax.php(22): require_once(‘wp-load.php’) 18 {main}

    thrown in /wp-content/plugins/woo-discount-rules/v2/App/Controllers/ManageDiscount.php on line 3166

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

    (@pavithrasivasamy)

    Hello there,
    Thanks for reaching out to us.

    From the log, it looks like there might be a conflict happening between Woo Discount Rules and the Auto Coupon plugin.

    Good news — we’ve already released an updated package that addresses this issue.

    To proceed, could you please create a support ticket with our team using the link below and include this error log? Once you create the ticket, we’ll share the updated package with you and guide you through applying the fix.

    👉 Submit a Support Ticket

    We’ll be glad to assist you quickly once the ticket is created.

    Best regards,
    Flycart Support Team

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.