• Resolved biko004

    (@biko004)


    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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Rynald0s

    (@rynald0s)

    Automattic Happiness Engineer

    Hi there!

    It looks like a plugin compatibility issue — what version of WooCommerce are you running? If it’s v3.0 > then you’d need to make sure all plugins are updated to use the correct methods.

    You can temporarily disable all plugins except for WooCommerce, to see if the issue persists. If not, re-enable your features until you find the plugin responsible for this output.

    Cheers!

    Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error on Invoice email header’ is closed to new replies.