Title: Error in debug.log
Last modified: October 6, 2020

---

# Error in debug.log

 *  Resolved [heldegar](https://wordpress.org/support/users/heldegar/)
 * (@heldegar)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/error-in-debug-log-17/)
 * Hello i got this error in my debug.log file.
 * Do you know what can cause that ?
 * PHP Notice: post was called **incorrectly**. Product properties should not be
   accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-
   includes/template-loader.php’), include(‘/themes/betheme-child/woocommerce/single-
   product.php’), wc_get_template_part, load_template, require(‘/themes/betheme-
   child/woocommerce/content-single-product.php’), do_action(‘woocommerce_after_single_product_summary’),
   WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_upsell_display, wc_get_template,
   include(‘/themes/betheme-child/woocommerce/single-product/up-sells.php’), wc_get_template_part,
   load_template, require(‘/themes/betheme/woocommerce/content-product.php’), do_action(‘
   woocommerce_after_shop_loop_item_title’), WP_Hook->do_action, WP_Hook->apply_filters,
   woocommerce_after_shop_loop_item_title_short_description, WC_Abstract_Legacy_Product-
   >__get, wc_doing_it_wrong Please see [Debugging in WordPress](https://wordpress.org/support/article/debugging-in-wordpress/)
   for more information. (This in /wp-includes/functions.php on line 4986
 * i tried to find a solution but i can’t even find what is the problem…

Viewing 1 replies (of 1 total)

 *  Plugin Support [Stuart Duff – a11n](https://wordpress.org/support/users/stuartduff/)
 * (@stuartduff)
 * Automattic Happiness Engineer
 * [5 years, 7 months ago](https://wordpress.org/support/topic/error-in-debug-log-17/#post-13499031)
 * Hi [@heldegar](https://wordpress.org/support/users/heldegar/),
 * The error message you’ve referenced is originating from a third party WordPress
   theme called `betheme-child` which you have activated on your site.
 * `PHP Notice: post was called incorrectly. Product properties should not be accessed
   directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/
   template-loader.php’), include(‘/themes/betheme-child/woocommerce/single-product.
   php’), wc_get_template_part, load_template, require(‘/themes/betheme-child/woocommerce/
   content-single-product.php’),`
 * If you reach out to the developers of the theme you’re using which seems to be**
   BeTheme**they will be able to assist further. The theme you’re using is sold 
   on this site below.
 * [https://themeforest.net/item/betheme-responsive-multipurpose-wordpress-theme/7758048](https://themeforest.net/item/betheme-responsive-multipurpose-wordpress-theme/7758048)

Viewing 1 replies (of 1 total)

The topic ‘Error in debug.log’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Stuart Duff – a11n](https://wordpress.org/support/users/stuartduff/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/error-in-debug-log-17/#post-13499031)
 * Status: resolved