Error on Invoice email header
-
Hey,
I just upgrade wordpress to 4.9.1 and now I see this error on the top of Invoice (which send to the customer)
”
Notice: id ???? ????? ?? ?????. Order properties should not be accessed directly. Backtrace: edit_post, wp_update_post, wp_insert_post, do_action(‘save_post’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Admin_Meta_Boxes->save_meta_boxes, do_action(‘woocommerce_process_shop_order_meta’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Meta_Box_Order_Actions::save, WC_Email_New_Order->trigger, WC_Email->get_content, WC_Email_New_Order->get_content_html, wc_get_template_html, wc_get_template, include(‘/plugins/woocommerce/templates/emails/admin-new-order.php’), do_action(‘woocommerce_email_order_details’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Emails->order_details, wc_get_template, include(‘/plugins/woocommerce/templates/emails/email-order-details.php’), do_action(‘woocommerce_email_before_order_table’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Shipment_Tracking->email_display, WC_A in /home/kendamas/public_html/wp-includes/functions.php on line 4146″Any idea how can I fix this error?
Which files I need to fix?Thanks!
- The topic ‘Error on Invoice email header’ is closed to new replies.