Repository Forums Support WooCommerce Extended Coupon Features PRO Minimum subtotal agreed products does not work Reply To: Minimum subtotal agreed products does not work

#2500
jazzynl
Participant

The version of Extended Coupon Features is: 2.6.0.2

the debus shows no errors:
(just a part of it)
2018-01-13T21:02:28+00:00 DEBUG woocommerce_after_calculate_totals WJECF_AutoCoupon::get_all_auto_coupons Autocoupons:
2018-01-13T21:02:28+00:00 DEBUG woocommerce_after_calculate_totals WJECF_AutoCoupon::update_matched_autocoupons Auto coupons that should be in cart:
2018-01-13T21:02:28+00:00 DEBUG woocommerce_after_calculate_totals WJECF_AutoCoupon::update_matched_autocoupons Coupons in cart: earlybird

I have a fatal error log:
2018-01-13T20:14:42+00:00 CRITICAL Uncaught ArgumentCountError: Too few arguments to function {closure}(), 1 passed in /****/public_html/wp-includes/class-wp-hook.php on line 286 and exactly 2 expected in /****/public_html/wp-content/themes/****/functions.php:152
Stack trace:
#0 /****/public_html/wp-includes/class-wp-hook.php(286): {closure}(Object(WC_Coupon))
#1 /****/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)
#2 /****/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#3 /****//public_html/wp-content/plugins/woocommerce-auto-added-coupons/includes/WJECF_Controller.php(463): do_action(‘wjecf_assert_co…’, Object(WC_Coupon))
#4 /****/public_html/wp-includes/class-wp-hook.php(286): WJECF_Controller->assert_coupon_is_valid(true, Object(WC_Coupon), Object(WC_Discounts))
#5 /

your help is greatly appreciated! Sorry for the problem.