Support » Plugin: WooCommerce Shipping & Tax » PHP Fatal Error – Site very slow when activated with Taxjar

  • Resolved jinsley8


    My site has been slow since activating this plugin with taxjar.

    When I turn on WP Debug I get the following PHP error:

    [01-Mar-2018 00:39:07 UTC] PHP Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /app/public/wp-content/plugins/woocommerce-services/classes/class-wc-connect-taxjar-integration.php:503
    Stack trace:
    #0 /app/public/wp-content/plugins/woocommerce-services/classes/class-wc-connect-taxjar-integration.php(268): WC_Connect_TaxJar_Integration->calculate_tax(Array)
    #1 /app/public/wp-includes/class-wp-hook.php(286): WC_Connect_TaxJar_Integration->calculate_totals(Object(WC_Cart))
    #2 /app/public/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #3 /app/public/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #4 /app/public/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1229): do_action(‘woocommerce_aft…’, Object(WC_Cart))
    #5 /app/public/wp-content/plugins/woocommerce/includes/class-wc-cart-session.php(119): WC_Cart->calculate_totals()
    #6 /app/public/wp-includes/class-wp-hook.php(286): WC_Cart_Session->get_cart_from_session(”)
    #7 /app/public/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filter in /app/public/wp-content/plugins/woocommerce-services/classes/class-wc-connect-taxjar-integration.php on line 503

Viewing 1 replies (of 1 total)
  • Plugin Contributor danreylop



    Sorry for the late reply, we wanted to include several things in this release.

    We’ve just released version 1.12.0 of WooCommerce Services. We fixed the error you’re getting (that’s an error while trying to log an error), so at least now you’ll be able to see what is happening with the plugin. You’ll be able to see any error message in

    Hope that helps! Please tell us the error you get if it’s not obvious how to fix it 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘PHP Fatal Error – Site very slow when activated with Taxjar’ is closed to new replies.