Title: Error with WP_DEBUG
Last modified: October 19, 2020

---

# Error with WP_DEBUG

 *  Resolved [Michael Wolf](https://wordpress.org/support/users/mikewolf1127/)
 * (@mikewolf1127)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/error-with-wp_debug/)
 * I am getting this error when I have WP_DEBUG on.
 * `Notice: id was called incorrectly. Order properties should not be accessed directly.
   Backtrace: require('wp-admin/edit-form-advanced.php'), do_meta_boxes, WC_Meta_Box_Order_Data::
   output, do_action('woocommerce_admin_order_data_after_billing_address'), WP_Hook-
   >do_action, WP_Hook->apply_filters, WC_Customer_Source->display_fields_order_edit,
   WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong Please see Debugging in WordPress
   for more information. (This message was added in version 3.0.) in /home/331995.
   cloudwaysapps.com/vmudbbqmcj/public_html/wp-includes/functions.php on line 5225`
 * I see this was asked before but [@wooassist](https://wordpress.org/support/users/wooassist/)
   couldn’t replicate. Maybe this picture will help…
    [https://www.dropbox.com/s/27secrsx3oth0zj/PHP%20ERROR.png?dl=0](https://www.dropbox.com/s/27secrsx3oth0zj/PHP%20ERROR.png?dl=0)
 * Have to add this to your wp-config to see php errors-
 *     ```
       # ENABLE DEBUG MODE
       define('WP_DEBUG',true);            
       # ENABLE DEBUG LOGGING TO /wp-content/debug.log
       define('WP_DEBUG_LOG',true);            
       # ENABLE DISPLAY OF ERRORS AND WARNINGS
       define('WP_DEBUG_DISPLAY',true);
       @ini_set('display_errors',1);
       ```
   
 * Hopefully [@wooassist](https://wordpress.org/support/users/wooassist/) can incorporate
   the fixes in the published plugin.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-with-wp_debug%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [Michael Wolf](https://wordpress.org/support/users/mikewolf1127/)
 * (@mikewolf1127)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/error-with-wp_debug/#post-13553706)
 * BTW- These fixes from [@karesz](https://wordpress.org/support/users/karesz/) 
   work-
    [https://wordpress.org/support/topic/php-notice-removed/#post-12524136](https://wordpress.org/support/topic/php-notice-removed/#post-12524136)
    -  This reply was modified 5 years, 7 months ago by [Michael Wolf](https://wordpress.org/support/users/mikewolf1127/).
 *  Plugin Author [wooassist](https://wordpress.org/support/users/wooassist/)
 * (@wooassist)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/error-with-wp_debug/#post-13578931)
 * [@mikewolf1127](https://wordpress.org/support/users/mikewolf1127/) [@karesz](https://wordpress.org/support/users/karesz/)
   [@bbceg](https://wordpress.org/support/users/bbceg/) I applied the suggested 
   fixes, please update to the latest version
 *  Plugin Author [wooassist](https://wordpress.org/support/users/wooassist/)
 * (@wooassist)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/error-with-wp_debug/#post-13641484)
 * We have not heard back from you in a while, we will close this ticket for now.
   please send us a message if you need further assistance. THanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error with WP_DEBUG’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wc-customer-source.svg)
 * [Where Did You Hear About Us Checkout Field for WooCommerce](https://wordpress.org/plugins/wc-customer-source/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wc-customer-source/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wc-customer-source/)
 * [Active Topics](https://wordpress.org/support/plugin/wc-customer-source/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wc-customer-source/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wc-customer-source/reviews/)

## Tags

 * [php-error](https://wordpress.org/support/topic-tag/php-error/)

 * 3 replies
 * 2 participants
 * Last reply from: [wooassist](https://wordpress.org/support/users/wooassist/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/error-with-wp_debug/#post-13641484)
 * Status: resolved