Replies: 1
I just installed PW WooCommerce Gift Cards today, and have been testing it on our site. It works as advertised, mostly, except… we’re getting a big error message after check out…
The message below repeats itself four times after checking out a gift card. After that, the gift card actually works and the checkout process DOES go through. The only issues seems to be the error message itself.
Can anyone help me figure out how to resolve this? Thank you!
Notice: status was called incorrectly. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/mesmerize-pro/page.php’), get_template_part, locate_template, load_template, require(‘/themes/mesmerize-pro/template-parts/content-page.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, call_user_func, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::order_received, wc_get_template, include(‘/themes/mesmerize-pro/woocommerce/checkout/thankyou.php’), do_action(‘woocommerce_thankyou’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, PW_Gift_Cards->maybe_mark_order_completed, WC_Order->update_status, WC_Order->save, WC_Order->status_transition, do_action(‘woocommerce_order_status_changed’), WP_Hook->do_action, WP_H in /home/content/96/7967396/html/breathworkonline/wp-includes/functions.php on line 4161