• Resolved guilhermewarmling

    (@guilhermewarmling)


    Estou com algum problema quando adiciona ao carrinho um produton com variação.

    Desativei o plugin e tudo funciona normalmente

    Segue erro que aparece no wp-debug

    Notice: Trying to get property ‘ID’ of non-object in /home/u532130059/domains/lojasbrasimoveis.com.br/public_html/wp-content/plugins/darven-multiplos-precos-informativos/includes/functions/class-darven-epi-format-final-price.php on line 25

    Notice: Trying to get property ‘ID’ of non-object in /home/u532130059/domains/lojasbrasimoveis.com.br/public_html/wp-content/plugins/darven-multiplos-precos-informativos/includes/functions/class-darven-epi-format-final-price.php on line 26

     Fatal error: Uncaught Error: Call to a member function is_type() on null
    in /home/u532130059/domains/lojasbrasimoveis.com.br/public_html/wp-content/plugins/darven-multiplos-precos-informativos/includes/functions/class-darven-epi-product-price.php on line 24

    Call stack:

    1. Darven_Epi_Product_Price::get_active_price()
      wp-content/plugins/darven-multiplos-precos-informativos/includes/functions/class-darven-epi-format-installments-price.php:69
    2. Darven_Epi_Format_Installments_Price::get_discount_price()
      wp-content/plugins/darven-multiplos-precos-informativos/includes/functions/class-darven-epi-format-final-price.php:38
    3. Darven_Epi_Format_Final_Price::get_discount_price()
      wp-includes/class-wp-hook.php:310
    4. WP_Hook::apply_filters()
      wp-includes/plugin.php:205
    5. apply_filters()
      wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php:1880
    6. WC_Product::get_price_html()
      wp-content/plugins/woocommerce/includes/class-wc-product-variable.php:382
    7. WC_Product_Variable::get_available_variation()
      wp-content/plugins/woocommerce/includes/class-wc-product-variable.php:312
    8. WC_Product_Variable::get_available_variations()
      wp-content/plugins/shipping-system-live-rates-fulfillment-envia/envia-shipping-module.php:398
    9. Envia_Shipping_Module::package_dimensions()
      wp-content/plugins/shipping-system-live-rates-fulfillment-envia/envia-shipping-module.php:337
    10. Envia_Shipping_Module::create_format_request()
      wp-content/plugins/shipping-system-live-rates-fulfillment-envia/envia-shipping-module.php:328
    11. Envia_Shipping_Module::get_shipping_rates()
      wp-content/plugins/shipping-system-live-rates-fulfillment-envia/envia-shipping-module.php:256
    12. Envia_Shipping_Module::calculate_shipping()
      wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-shipping-method.php:233
    13. WC_Shipping_Method::get_rates_for_package()
      wp-content/plugins/woocommerce/includes/class-wc-shipping.php:348
    14. WC_Shipping::calculate_shipping_for_package()
      wp-content/plugins/woocommerce/includes/class-wc-shipping.php:260
    15. WC_Shipping::calculate_shipping()
      wp-content/plugins/woocommerce/includes/class-wc-cart.php:1423
    16. WC_Cart::calculate_shipping()
      wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:339
    17. WC_Cart_Totals::get_shipping_from_cart()
      wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:850
    18. WC_Cart_Totals::calculate_shipping_totals()
      wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:144
    19. WC_Cart_Totals::calculate()
      wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:134
    20. WC_Cart_Totals::__construct()
      wp-content/plugins/woocommerce/includes/class-wc-cart.php:1401
    21. WC_Cart::calculate_totals()
      wp-includes/class-wp-hook.php:306
    22. WP_Hook::apply_filters()
      wp-includes/class-wp-hook.php:332
    23. WP_Hook::do_action()
      wp-includes/plugin.php:517
    24. do_action()
      wp-content/plugins/woocommerce/includes/class-wc-cart.php:1279
    25. WC_Cart::add_to_cart()
      wp-content/plugins/woocommerce/includes/class-wc-form-handler.php:918
    26. WC_Form_Handler::add_to_cart_handler_variable()
      wp-content/plugins/woocommerce/includes/class-wc-form-handler.php:790
    27. WC_Form_Handler::add_to_cart_action()
      wp-includes/class-wp-hook.php:308
    28. WP_Hook::apply_filters()
      wp-includes/class-wp-hook.php:332
    29. WP_Hook::do_action()
      wp-includes/plugin.php:517
    30. do_action()
      wp-settings.php:645
    31. require_once()
      wp-config.php:107
    32. require_once()
      wp-load.php:50
    33. require_once()
      wp-blog-header.php:13
    34. require()
      index.php:17
Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Letícia Moreira

    (@fkdarven)

    Boa noite, Guilherme, tudo certo?

    Poderia me informar qual versão do WooCommerce e qual tema está usando, por gentileza?

    Thread Starter guilhermewarmling

    (@guilhermewarmling)

    Claro, o woocommerce está na versão Versão 7.6.1, e o tema é o “Hello Elementor”

    Plugin Author Letícia Moreira

    (@fkdarven)

    Boa noite,

    Estou investigando o que provocou isso. No fim de semana postarei uma atualização que deve corrigir esse problema!

    Plugin Author Letícia Moreira

    (@fkdarven)

    Bom dia,

    Acabei de lançar uma att. Poderia conferir se resolveu o problema?

    Thread Starter guilhermewarmling

    (@guilhermewarmling)

    Boaaa noite, obrigado pela rápida respota, agora quebrou em outra parte 🙁

    segue novo erro:


    Fatal error: Uncaught Error: Class ‘YWDPD_Frontend’ not found in /home/u532130059/domains/lojasbrasimoveis.com.br/public_html/wp-content/plugins/darven-multiplos-precos-informativos/includes/functions/class-darven-epi-product-price.php:23 Stack trace: #0 /home/u532130059/domains/lojasbrasimoveis.com.br/public_html/wp-content/plugins/darven-multiplos-precos-informativos/includes/functions/class-darven-epi-format-installments-price.php(69): Darven_Epi_Product_Price->get_active_price() #1 /home/u532130059/domains/lojasbrasimoveis.com.br/public_html/wp-content/plugins/darven-multiplos-precos-informativos/includes/functions/class-darven-epi-format-final-price.php(43): Darven_Epi_Format_Installments_Price->get_discount_price() #2 /home/u532130059/domains/lojasbrasimoveis.com.br/public_html/wp-includes/class-wp-hook.php(310): Darven_Epi_Format_Final_Price->get_discount_price(‘<del aria-hidde…’) #3 /home/u532130059/domains/lojasbrasimoveis.com.br/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘<del aria-hidde.. in /home/u532130059/domains/lojasbrasimoveis.com.br/public_html/wp-content/plugins/darven-multiplos-precos-informativos/includes/functions/class-darven-epi-product-price.php on line 23

    Há um erro crítico no seu site.

    Plugin Author Letícia Moreira

    (@fkdarven)

    Bom dia,

    Estranho! Poderia verificar se a opção compatibilidade com YITH, na aba compatibilidade, está habilitada ou desabilitada?

    Thread Starter guilhermewarmling

    (@guilhermewarmling)

    Booooom dia Leticia,

    Estava sim, acho que eu tentando ver o que poderia ser o erro no inicio, posso ter habilitado, desabilitei e já está funcionando corretamente, muito obrigado!!!

    Plugin Author Letícia Moreira

    (@fkdarven)

    Bom dia, Guilherme,

    Agradeço o feedback, sucesso!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Erro ao adicionar ao carrinho, produto com variação’ is closed to new replies.