Home › Forums › WoodMart support forum › Error wrong way of calling product information
Error wrong way of calling product information
- This topic has 4 replies, 2 voices, and was last updated 5 years ago by
Artem Temos.
-
AuthorPosts
-
May 22, 2020 at 4:46 pm #197065
rutsaertParticipantI’m getting the error
Notice: price werd verkeerd aangeroepen. Producteigenschappen mogen niet rechtstreeks aangeroepen worden. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/woodmart/woocommerce/single-product.php'), wc_get_template_part, load_template, require('/themes/woodmart/woocommerce/content-single-product.php'), do_action('woocommerce_single_product_summary'), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_template_single_price, wc_get_template, include('/plugins/woocommerce/templates/single-product/price.php'), WC_Product_Variable->get_price_html, apply_filters('woocommerce_variable_price_html'), WP_Hook->apply_filters, custom_variation_price_ifdiffer, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Lees Foutopsporing in WordPress voor meer informatie. (Dit bericht is toegevoegd in versie 3.0.) in /home/bluebox/domains/blueboxprinting.be/public_html/wp-includes/functions.php on line 5167
That the price is called on on the wrong way?
If i deactivate the theme the error is gone.May 22, 2020 at 4:51 pm #197066
rutsaertParticipantIt is also on the archive page….
Notice: price werd verkeerd aangeroepen. Producteigenschappen mogen niet rechtstreeks aangeroepen worden. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/taxonomy-product_cat.php'), wc_get_template, include('/themes/woodmart/woocommerce/archive-product.php'), do_action('woodmart_woocommerce_main_loop'), WP_Hook->do_action, WP_Hook->apply_filters, woodmart_woocommerce_main_loop, wc_get_template_part, load_template, require('/themes/woodmart/woocommerce/content-product.php'), wc_get_template_part, load_template, require('/themes/woodmart/woocommerce/content-product-quick.php'), do_action('woocommerce_after_shop_loop_item_title'), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_template_loop_price, wc_get_template, include('/plugins/woocommerce/templates/loop/price.php'), WC_Product_Variable->get_price_html, apply_filters('woocommerce_variable_price_html'), WP_Hook->apply_filters, custom_variation_price_ifdiffer, in /home/bluebox/domains/blueboxprinting.be/public_html/wp-includes/functions.php on line 5167
May 22, 2020 at 5:16 pm #197069
Artem TemosKeymasterHello,
Could you please check how it works with some default WordPress themes like TwentyTwenty or WooCommerce Storefront to understand is it our theme issue or not?
Regards
May 22, 2020 at 5:42 pm #197076
rutsaertParticipantIf I activate storefront theme the error is gone.
I found the error, it was in the child-theme a little piece of code. So sorry.May 22, 2020 at 5:46 pm #197077
Artem TemosKeymasterNo problem, we are glad that you sorted it out.
-
AuthorPosts
Tagged: error
The topic ‘Error wrong way of calling product information’ is closed to new replies.
- You must be logged in to create new topics. Login / Register