[Resolved] Theme errors regarding woocommerce variations in logs

Home Forums Support [Resolved] Theme errors regarding woocommerce variations in logs

Home Forums Support Theme errors regarding woocommerce variations in logs

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1163416
    Juglen

    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

    #1163610
    Tom
    Lead Developer
    Lead Developer

    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 ๐Ÿ™‚

    #1166023
    Juglen

    Thank you, found the problem!

    #1166339
    Tom
    Lead Developer
    Lead Developer

    Awesome ๐Ÿ™‚

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.