otice: code was called incorrectly. Coupon properties should not be accessed dir
-
Hi,
I have the paid version of this plugin and I updated woocommerce to 3.3.5 (not the latest version) and for some reason i am receiving this error now. I know it has something to do with this plugin in particular cause if i disable the plugin the error goes away.
Notice: code was called incorrectly. Coupon properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-load.php'), require_once('/opt/bitnami/apps/wordpress/htdocs/web/wp-config.php'), require_once('wp-settings.php'), do_action('wp_loaded'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cart_Session->get_cart_from_session, do_action('woocommerce_cart_loaded_from_session'), WP_Hook->do_action, WP_Hook->apply_filters, ppom_calculate_totals_from_session, WC_Cart->calculate_totals, do_action('woocommerce_after_calculate_totals'), WP_Hook->do_action, WP_Hook->apply_filters, WJECF_Hook_Once->execute, WJECF_AutoCoupon->update_matched_autocoupons, WJECF_AutoCoupon->get_valid_auto_coupons, WJECF_AutoCoupon->coupon_can_be_applied, WC_Coupon->is_valid, WC_Discounts->is_coupon_valid, apply_filters('woocommerce_coupon_error'), WP_Hook->apply_filters, my_custom_woocommerce_coupon_error_message, WC_Legacy_Coupon->__get, wc_doing_it_wrong Please see /opt/bitnami/apps/wordpress/htdocs/web/wp/wp-includes/functions.php on line 4148
Notice: code was called incorrectly. Coupon properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-load.php'), require_once('/opt/bitnami/apps/wordpress/htdocs/web/wp-config.php'), require_once('wp-settings.php'), do_action('wp_loaded'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cart_Session->get_cart_from_session, do_action('woocommerce_cart_loaded_from_session'), WP_Hook->do_action, WP_Hook->apply_filters, ppom_calculate_totals_from_session, WC_Cart->calculate_totals, do_action('woocommerce_after_calculate_totals'), WP_Hook->do_action, WP_Hook->apply_filters, WJECF_Hook_Once->execute, WJECF_AutoCoupon->update_matched_autocoupons, WJECF_AutoCoupon->get_valid_auto_coupons, WJECF_AutoCoupon->coupon_can_be_applied, WC_Coupon->is_valid, WC_Discounts->is_coupon_valid, apply_filters('woocommerce_coupon_error'), WP_Hook->apply_filters, my_custom_woocommerce_coupon_error_message, WC_Legacy_Coupon->__get, wc_doing_it_wrong Please see
I have read something about the coupon and order ID’s have changed in the newer version of woocommerce so idk if that would be causing the issue? Some insight would be greatly appreciated!
The page I need help with: [log in to see the link]
- The topic ‘otice: code was called incorrectly. Coupon properties should not be accessed dir’ is closed to new replies.