• Resolved tarzine

    (@tarzine)


    I am not sure what is going on, my cart page is not blank.
    I cut and pasted the error below. Can someone please help?

    Warning: Invalid argument supplied for foreach() in /home/ko2le4ce01/diversityavatarstickers.com/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php on line 344

    Fatal error: Uncaught Error: Call to a member function set_fees() on null in /home/ko2le4ce01/diversityavatarstickers.com/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:788 Stack trace: #0 /home/ko2le4ce01/diversityavatarstickers.com/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(142): WC_Cart_Totals->calculate_fee_totals() #1 /home/ko2le4ce01/diversityavatarstickers.com/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(131): WC_Cart_Totals->calculate() #2 /home/ko2le4ce01/diversityavatarstickers.com/wp-content/plugins/woocommerce-services/classes/class-wc-connect-taxjar-integration.php(381): WC_Cart_Totals->__construct(Object(My_WC_Cart)) #3 /home/ko2le4ce01/diversityavatarstickers.com/wp-content/plugins/woocommerce-services/classes/class-wc-connect-taxjar-integration.php(307): WC_Connect_TaxJar_Integration->calculate_totals(Object(My_WC_Cart)) #4 /home/ko2le4ce01/diversityavatarstickers.com/wp-includes/class-wp-hook.php(286): WC_Connect_TaxJar_Integration->maybe_calcula in /home/ko2le4ce01/diversityavatarstickers.com/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php on line 788

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Ross V. a11n

    (@rossviviano)

    Automattic Happiness Engineer

    Hi there!

    Usually, issues like this are caused by a site’s theme or plugins conflicting with WooCommerce. Here’s how to test for conflicts:
    First, you’ll want to change the theme on your site to Storefront, then test. If that resolves the issue, you’ll want to get in touch with your theme’s developer and see if they have an update or fix for you. If changing the theme doesn’t help, you’ll want to deactivate all plugins except for WooCommerce and take a look. If that fixes the problem, re-enable the other plugins one by one to see where the issue is coming from. If you don’t want to test on your live site, then create a staging site using a plugin called WP Staging.

    Thread Starter tarzine

    (@tarzine)

    @rossviviano you are a lifesaver! I narrowed down which plugin was causing the error “WooCommerce Services”.
    I will contact or share this post with “Automattic” the “WooCommerce Services” plugin’s developer, for a patch or update. For now, I think I will completely uninstall it.

    Again, thank you so much @rossviviano

    @tarzine I am having the same issue, could you share which plugin was the guilty plugin in your case? It might help me too. For now I’ve had to disable the Woocommerce Services plugin

    I suspect jquery is being loaded twice or something like that

    Thread Starter tarzine

    (@tarzine)

    @vesperknight Please review my response.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cart page blank’ is closed to new replies.