Support » Plugin: WooCommerce Shipping & Tax » warning and fatal error

  • Resolved Panthony54


    Just wanted to setup this store by activating the necessary plugins and got this at the end when finishing setting up woovcommerce:
    “Warning: Invalid argument supplied for foreach() in /home/happines/public_html/wp-content/plugins/woocommerce-services/classes/class-wc-connect-paypal-ec.php on line 225

    Fatal error: Uncaught Error: Call to a member function load() on null in /home/happines/public_html/wp-content/plugins/woocommerce-services/classes/class-wc-connect-paypal-ec.php:233 Stack trace: #0 /home/happines/public_html/wp-content/plugins/woocommerce-services/classes/class-wc-connect-paypal-ec.php(44): WC_Connect_PayPal_EC->initialize_settings() #1 /home/happines/public_html/wp-content/plugins/woocommerce-services/woocommerce-services.php(685): WC_Connect_PayPal_EC->init() #2 /home/happines/public_html/wp-content/plugins/woocommerce-services/woocommerce-services.php(564): WC_Connect_Loader->attach_hooks() #3 /home/happines/public_html/wp-includes/class-wp-hook.php(286): WC_Connect_Loader->after_wc_init(”) #4 /home/happines/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array) #5 /home/happines/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #6 /home/happines/public_html/wp-content/plugins/woocommerce/includes/class-woocommerce.php(486): do_action(‘woocommerce_ini…’) in /home/happines/public_html/wp-content/plugins/woocommerce-services/classes/class-wc-connect-paypal-ec.php on line 233″

    I deleted the woocommerce services plugin in order to continue. Maybe you can do something with it.

    Kind regards

    • This topic was modified 2 years, 10 months ago by Panthony54.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Marcin


    Hi @panthony54,

    Thank you for reporting this issue. We are aware of it and a fix for it will be included in the next release.

    Plugin Contributor Marcin


    Hi @panthony54

    We released a hotfix for this issue in version 1.12.3. It is now safe to activate WooCommerce Services after updating.

    • This reply was modified 2 years, 10 months ago by Marcin.
    Plugin Support yukikatayama


    Automattic Happiness Engineer

    Hi @panthony54,

    As this issue was fixed in the latest release, you can now update and activate WooCommerce Services. I’m going to mark this as resolved – if you have any further questions, you can start a new thread.


    Thanks guys!! You are awesome!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘warning and fatal error’ is closed to new replies.