Title: Error warning when debugging
Last modified: April 18, 2017

---

# Error warning when debugging

 *  [kustv](https://wordpress.org/support/users/kustv/)
 * (@kustv)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/error-warning-when-debugging/)
 * 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?

The topic ‘Error warning when debugging’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [kustv](https://wordpress.org/support/users/kustv/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/error-warning-when-debugging/)
 * Status: not resolved