Error in debug.log
-
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 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…
The topic ‘Error in debug.log’ is closed to new replies.