Site logo

Archived topic

Theme errors regarding woocommerce variations in logs

3 replies · Started by Juglen on February 12, 2020

Viewing posts 1–4 of 4

Our logs says that there are some errors in the theme files. Do they need to be fixed?

11-Feb-2020 16:51:33 UTC] PHP Notice: min_variation_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/generatepress/page.php'), get_template_part, locate_template, load_template, require('/themes/generatepress/content-page.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, WC_Shortcodes::featured_products, WC_Shortcode_Products->get_content, WC_Shortcode_Products->product_loop, wc_get_template_part, load_template, require('/plugins/woocommerce/templates/content-product.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_variati in /home/website/domains/domain.com/public_html/webwinkel/wp-includes/functions.php on line 4986
[11-Feb-2020 16:51:33 UTC] PHP Notice: max_variation_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/generatepress/page.php'), get_template_part, locate_template, load_template, require('/themes/generatepress/content-page.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, WC_Shortcodes::featured_products, WC_Shortcode_Products->get_content, WC_Shortcode_Products->product_loop, wc_get_template_part, load_template, require('/plugins/woocommerce/templates/content-product.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_variati in /home/website/domains/domain.com/public_html/webwinkel/wp-includes/functions.php on line 4986

Hi there,

From what I can tell, those errors are coming from a shortcode you've added into your content error. The reason it's listing theme files is that those files are responsible for outputting the content on the page.

What shortcodes do you have on the page with the error?

Let me know :)

Thank you, found the problem!

Awesome :)

This archived topic is closed to new replies.