hi, when i have order completed, the customer recieves the email correctly with all info but also an error message appears.
Notice: The id function 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/woodmart/page.php’), woodmart_get_the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::order_received, wc_get_template, include(‘/themes/woodmart/woocommerce/checkout/thankyou.php’), do_action(‘woocommerce_thankyou’), WP_Hook->do_action, WP_Hook->apply_filters, custom_woocommerce_auto_complete_order, WC_Order->update_status, WC_Order->save, WC_Order->status_transition, do_action(‘woocommerce_order_status_completed’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Emails::send_transactional_email, do_action_ref_array(‘woocommerce_order_status_completed_notification’), WP_Hook->do_action, WP_Hook->appl in /home/pharmygr/public_html/wp-includes/functions.php on line 5831
PS this error appears only to customer email https://i.imgur.com/auCln5M.png and not to shop manager.
thank you