Support » Plugin: WooCommerce Parcelas com e sem Juros » Erro em produto variável

  • Olá, tem ocorrido um erro após eu adicionar um produto variável como produto relacionado e o produto é incluído no carrinho, é sugerido o produto variável abaixo dos itens no carrinho, ocorre um erro.

    [16-Jun-2020 02:19:33 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_price() on bool in public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php:962
    Stack trace:
    #0 public_html/wp-content/plugins/woo-parcelas-com-e-sem-juros/public/class-woo-parcelas-com-e-sem-juros-public.php(83): wc_get_price_including_tax(false)
    #1 public_html/wp-includes/class-wp-hook.php(287): Woocommerce_Parcelas_Public->fswp_in_loop(”)
    #2 public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #3 public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #4 public_html/wp-content/plugins/woocommerce/templates/content-product.php(57): do_action(‘woocommerce_aft…’)
    #5 public_html/wp-includes/template.php(725): req in public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php on line 962

    Link com print do erro: https://imgur.com/DsWb8Q3

    • This topic was modified 1 year, 5 months ago by fergerminare.
    • This topic was modified 1 year, 5 months ago by fergerminare.
Viewing 1 replies (of 1 total)
  • Tive a mesma mensagem de erro, só que ao filtrar por cores na categoria. Desabilitei o plugin e a filtragem de cor funcionou perfeitamente. Segue a mensagem de erro, só troquei o nome de conta no provedor por “caminho_do_site”

    Fatal error: Uncaught Error: Call to a member function get_price() on bool
    in /chroot/home/caminho_do_site/html/wp-content/plugins/woocommerce/includes/wc-product-functions.php on line 962

    Call stack:

    wc_get_price_including_tax()
    wp-content/plugins/woo-parcelas-com-e-sem-juros/public/class-woo-parcelas-com-e-sem-juros-public.php:83
    Woocommerce_Parcelas_Public::fswp_in_loop()
    wp-includes/class-wp-hook.php:287
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:311
    WP_Hook::do_action()
    wp-includes/plugin.php:478
    do_action()
    wp-content/plugins/woocommerce/templates/content-product.php:57
    require()
    wp-includes/template.php:732
    load_template()
    wp-content/plugins/woocommerce/includes/wc-core-functions.php:283
    wc_get_template_part()
    wp-content/plugins/woocommerce/templates/archive-product.php:70
    include()
    wp-content/plugins/woocommerce/includes/wc-core-functions.php:344
    wc_get_template()
    wp-content/plugins/woocommerce/templates/taxonomy-product_cat.php:22
    include()
    wp-includes/template-loader.php:106
    require_once()
    wp-blog-header.php:19
    require()
    index.php:17

Viewing 1 replies (of 1 total)
  • The topic ‘Erro em produto variável’ is closed to new replies.