Replies: 0
Hi,
I updated and set debug mode to true, and now I am getting an error warning in the customer-completed email which I have edited in my child theme. The only thing I had added there is some additional text based on payment method, and the warning in the email says
“Notice: billing_first_name wurde fehlerhaft aufgerufen. Order properties should not be accessed directly. Backtrace: apply_filters(‘handle_bulk_actions-edit-shop_order’), WP_Hook->apply_filters, WC_Admin_Post_Types->handle_shop_order_bulk_actions, 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, WP_Hook->do_action, WP_Hook->apply_filters, WC_Email_Customer_Completed_Order->trigger, WC_Email->get_content, WC_Email_Customer_Completed_Order->get_content_html, wc_get_template_html, wc_get_template, include(‘/themes/…/woocommerce/emails/customer-completed-order.php’), WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong Weitere Informationen: Debugging in WordPress (engl.) (Diese Meldung wurde in Version 3.0 hinzugefügt.) in /html/wordpress/wp-includes/functions.php on line 4137”
Does anyone know what this means?