Notice: ID werd verkeerd aangeroepen
-
We are getting a packing slip with the following error notice in it.
Notice: ID werd verkeerd aangeroepen. 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, WC_Admin_Meta_Boxes->save_meta_boxes, do_action('woocommerce_process_shop_order_meta'), WP_Hook- >do_action, WP_Hook->apply_filters, WC_Meta_Box_Order_Data::save, 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- >apply_filters, WC_Email_PDF_Order_Notification->trigger, WC_Email->get_attachments, apply_filters('woocommerce_email_attachments'), WP_Hook->apply_filters, WPO\WC\PDF_Invoices\Main- >attach_pdf_to_email, WPO\WC\PDF_Invoices\Documents\Order_Document->get_pdf, WPO\WC\PDF_Invoices\Documents\Order_Document->get_html, WPO\WC\PDF_Invoices\Documents\Order_Document->render_ in /home/website/domains/website.nl/public_html/wp-includes/functions.php on line 5313
The pdf looks fine except for this notice. Is there a way to hide this?
- The topic ‘Notice: ID werd verkeerd aangeroepen’ is closed to new replies.