• Resolved KoolPal

    (@koolpal)


    Hi,

    WordPress version: 5.2.2
    WooCommerce version: 3.6.5

    Your plugin was working very well so far. With the latest updates, I am unable to change Qty in Checkout and am seeing the below errors in my debug.log files:

    [06-Jul-2019 06:30:31 UTC] PHP Notice:  Undefined index: 7f043b6adf98fd691f3fe0cc40612945 in installation path/wp-content/plugins/woocommerce/includes/class-wc-cart.php on line 1178
    [06-Jul-2019 06:30:31 UTC] PHP Notice:  Undefined index: data in installation path/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php on line 231
    [06-Jul-2019 06:30:31 UTC] PHP Fatal error:  Uncaught Error: Call to a member function get_tax_class() on null in installation path/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:231
    Stack trace:
    #0 installation path/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(648): WC_Cart_Totals->get_items_from_cart()
    #1 installation path/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(140): WC_Cart_Totals->calculate_item_totals()
    #2 installation path/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(131): WC_Cart_Totals->calculate()
    #3 installation path/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1215): WC_Cart_Totals->__construct(Object(WC_Cart))
    #4 installation path/wp-content/plugins/change-quantity-on-checkout-for-woocommerce/change-quantity-on-checkout-woocommerce.php(129): WC_Cart->calculate_totals()
    #5 /installation path/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php on line 231

    Of these #4 installation path/wp-content/plugins/change-quantity-on-checkout-for-woocommerce/change-quantity-on-checkout-woocommerce.php(129): WC_Cart->calculate_totals() points to your plugin.

    I have not modified anything in your plugin.

    Please review and guide / fix.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author bhavik.kiri

    (@bhavikkiri)

    Hi @koolpal,

    I apologize for the delay in response.

    Can you please share your tax settings and other Wooommerce settings?

    You can share the screenshot on my email if you are not comfortable here.

    Thanks,
    Bhavik

    Thread Starter KoolPal

    (@koolpal)

    @bhavikkiri I have replied to your email with login access.

    Thanks

    Thread Starter KoolPal

    (@koolpal)

    @bhavikkiri Please ignore this. I think there was some issue with my testing environment which was causing this error.

    I created another instance and all worked well.

    Thank you for taking some time with this issue.

    Best wishes!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Multiple errors on Qty change’ is closed to new replies.