Erro ao adicionar ao carrinho, produto com variação
-
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 24Call stack:
Darven_Epi_Product_Price::get_active_price()
wp-content/plugins/darven-multiplos-precos-informativos/includes/functions/class-darven-epi-format-installments-price.php:69Darven_Epi_Format_Installments_Price::get_discount_price()
wp-content/plugins/darven-multiplos-precos-informativos/includes/functions/class-darven-epi-format-final-price.php:38Darven_Epi_Format_Final_Price::get_discount_price()
wp-includes/class-wp-hook.php:310WP_Hook::apply_filters()
wp-includes/plugin.php:205apply_filters()
wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php:1880WC_Product::get_price_html()
wp-content/plugins/woocommerce/includes/class-wc-product-variable.php:382WC_Product_Variable::get_available_variation()
wp-content/plugins/woocommerce/includes/class-wc-product-variable.php:312WC_Product_Variable::get_available_variations()
wp-content/plugins/shipping-system-live-rates-fulfillment-envia/envia-shipping-module.php:398Envia_Shipping_Module::package_dimensions()
wp-content/plugins/shipping-system-live-rates-fulfillment-envia/envia-shipping-module.php:337Envia_Shipping_Module::create_format_request()
wp-content/plugins/shipping-system-live-rates-fulfillment-envia/envia-shipping-module.php:328Envia_Shipping_Module::get_shipping_rates()
wp-content/plugins/shipping-system-live-rates-fulfillment-envia/envia-shipping-module.php:256Envia_Shipping_Module::calculate_shipping()
wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-shipping-method.php:233WC_Shipping_Method::get_rates_for_package()
wp-content/plugins/woocommerce/includes/class-wc-shipping.php:348WC_Shipping::calculate_shipping_for_package()
wp-content/plugins/woocommerce/includes/class-wc-shipping.php:260WC_Shipping::calculate_shipping()
wp-content/plugins/woocommerce/includes/class-wc-cart.php:1423WC_Cart::calculate_shipping()
wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:339WC_Cart_Totals::get_shipping_from_cart()
wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:850WC_Cart_Totals::calculate_shipping_totals()
wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:144WC_Cart_Totals::calculate()
wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:134WC_Cart_Totals::__construct()
wp-content/plugins/woocommerce/includes/class-wc-cart.php:1401WC_Cart::calculate_totals()
wp-includes/class-wp-hook.php:306WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:332WP_Hook::do_action()
wp-includes/plugin.php:517do_action()
wp-content/plugins/woocommerce/includes/class-wc-cart.php:1279WC_Cart::add_to_cart()
wp-content/plugins/woocommerce/includes/class-wc-form-handler.php:918WC_Form_Handler::add_to_cart_handler_variable()
wp-content/plugins/woocommerce/includes/class-wc-form-handler.php:790WC_Form_Handler::add_to_cart_action()
wp-includes/class-wp-hook.php:308WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:332WP_Hook::do_action()
wp-includes/plugin.php:517do_action()
wp-settings.php:645require_once()
wp-config.php:107require_once()
wp-load.php:50require_once()
wp-blog-header.php:13require()
index.php:17
- The topic ‘Erro ao adicionar ao carrinho, produto com variação’ is closed to new replies.