Mailchimp Banner | Q2 2024

added by Latoya

Product Icon

Free Gifts for WooCommerce

Offer Free Gifts to your customers for making purchases in your WooCommerce Shop.

Compatibility with checkoutwc

throws a fatal error in the cart with checkoutwc active when trying to remove items from your once a free product has been added to the cart. unable to remove items from the chckoutwc side cart when this is active. please correct.

[24-Nov-2023 03:39:12 UTC] PHP Fatal error: Uncaught Error: Call to a member function needs_shipping() on null in /var/www/cannabox.com/wp-content/plugins/woocommerce/includes/class-wc-cart.php:1542
Stack trace:
#0 /var/www/cannabox.com/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1430): WC_Cart->needs_shipping()
#1 /var/www/cannabox.com/wp-content/plugins/checkout-for-woocommerce/sources/php/functions.php(2436): WC_Cart->calculate_shipping()
#2 /var/www/cannabox.com/wp-content/plugins/checkout-for-woocommerce/includes/Action/UpdateSideCart.php(49): cfw_update_cart()
#3 /var/www/cannabox.com/wp-content/plugins/checkout-for-woocommerce/includes/Action/CFWAction.php(76): ObjectivPluginsCheckoutActionUpdateSideCart->action()
#4 /var/www/cannabox.com/wp-includes/class-wp-hook.php(324): ObjectivPluginsCheckoutActionCFWAction->execute()
#5 /var/www/cannabox.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#6 /var/www/cannabox.com/wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /var/www/cannabox.com/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(96): do_action()
#8 /var/www/cannabox.com/wp-includes/class-wp-hook.php(324): WC_AJAX::do_wc_ajax()
#9 /var/www/cannabox.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#10 /var/www/cannabox.com/wp-includes/plugin.php(517): WP_Hook->do_action()
#11 /var/www/cannabox.com/wp-includes/template-loader.php(13): do_action()
#12 /var/www/cannabox.com/wp-blog-header.php(19): require_once(‘…’)
#13 /var/www/cannabox.com/index.php(17): require(‘…’)
#14 {main}
thrown in /var/www/cannabox.com/wp-content/plugins/woocommerce/includes/class-wc-cart.php on line 1542

Author

michael berk

Current Status

Open

Last updated: November 24, 2023

1 comment

Log in to comment on this feature request.

  1. Flintop says:
    Product Developer November 28, 2023 1:38 pm

    We need more information. Please contact us by opening a support ticket.

    Thank you.