• Resolved heldegar

    (@heldegar)


    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…

Viewing 1 replies (of 1 total)
  • Plugin Support Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hi @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 BeThemethey 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

Viewing 1 replies (of 1 total)

The topic ‘Error in debug.log’ is closed to new replies.