Title: debugging an error message added in version 3.0
Last modified: May 6, 2018

---

# debugging an error message added in version 3.0

 *  Resolved [akshat05](https://wordpress.org/support/users/akshat05/)
 * (@akshat05)
 * [8 years ago](https://wordpress.org/support/topic/debugging-an-error-message-added-in-version-3-0/)
 * Hi,
 * I’m using a custom theme and I have added and customized a few woocommerce template
   in my theme, in my debug.log file, I’m getting this:
 * height was called incorrectly. Product properties should not be accessed directly.
   Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-
   loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters,
   WC_AJAX::do_wc_ajax, do_action(‘wc_ajax_add_to_cart’), WP_Hook->do_action, WP_Hook-
   >apply_filters, WC_AJAX::add_to_cart, WC_Cart->add_to_cart, do_action(‘woocommerce_add_to_cart’),
   WP_Hook->do_action, WP_Hook->apply_filters, WC_Cart->calculate_totals, WC_Cart_Totals-
   >__construct, WC_Cart_Totals->calculate, WC_Cart_Totals->calculate_shipping_totals,
   WC_Cart_Totals->get_shipping_from_cart, WC_Cart->calculate_shipping, WC_Shipping-
   >calculate_shipping, WC_Shipping->calculate_shipping_for_package, WC_Shipping_Method-
   >get_rates_for_package, WC_Pont_Shipping_Method->calculate_shipping, WC_Abstract_Legacy_Product-
   >__get, wc_doing_it_wrong. This message was added in version 3.0.
 * Please can anybody help me to understand this message? How can I determine if
   this is from the theme or any plugin?

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

 *  Plugin Support [Riaan K.](https://wordpress.org/support/users/riaanknoetze/)
 * (@riaanknoetze)
 * [8 years ago](https://wordpress.org/support/topic/debugging-an-error-message-added-in-version-3-0/#post-10252967)
 * The error message seems to be related to a shippping plugin you have installed–
   specifically one that’s running a `WC_Pont_Shipping_Method` function.
 * Of course, it’s possible that you manually added that functionality in your theme
   although that would be unusual 🙂
 * Hope it helps.
 *  Thread Starter [akshat05](https://wordpress.org/support/users/akshat05/)
 * (@akshat05)
 * [8 years ago](https://wordpress.org/support/topic/debugging-an-error-message-added-in-version-3-0/#post-10254194)
 * Thanks, I just wanted to confirm, now I’m sure that it’s coming from the plugin
   🙂

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

The topic ‘debugging an error message added in version 3.0’ 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/)

## Tags

 * [Version 3.0](https://wordpress.org/support/topic-tag/version-3-0/)

 * 2 replies
 * 2 participants
 * Last reply from: [akshat05](https://wordpress.org/support/users/akshat05/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/debugging-an-error-message-added-in-version-3-0/#post-10254194)
 * Status: resolved