ActiveCampaign Forum

ActiveCampaign for WooCommerce plugin returns a fatal error on the checkout page


#1

Hello,
I’ve connected a WooCommerce site to ActiveCampaign using deep data integration and it works for the historical data.
But if I install the ActiveCampaign for WooCommerce plugin it returns a fatal error on the checkout page.

This is the error:
Fatal error: Uncaught Error: Call to a member function request() on null in /home/xyz/public_html/wp-content/plugins/activecampaign-for-woocommerce/includes/api-client/class-activecampaign-for-woocommerce-api-client.php:370 Stack trace: #0 /home/xyz/public_html/wp-content/plugins/activecampaign-for-woocommerce/includes/traits/class-activecampaign-for-woocommerce-interacts-with-api-trait.php(140): Activecampaign_For_Woocommerce_Api_Client->execute() #1 /home/xyz/public_html/wp-content/plugins/activecampaign-for-woocommerce/includes/repositories/class-activecampaign-for-woocommerce-ecom-customer-repository.php(108): Activecampaign_For_Woocommerce_Ecom_Customer_Repository->get_and_set_model_properties_from_api_by_filter(Object(Activecampaign_For_Woocommerce_Api_Client), Object(Activecampaign_For_Woocommerce_Ecom_Customer), ‘email’, ‘’) #2 /home/xyz/public_html/wp-content/plugins/activecampaign-for-woocommerce/includes/repositories/class-activecampaign-for-woocommerce-ecom-customer-repository.php(124): Act in /home/xyz/public_html/wp-content/plugins/activecampaign-for-woocommerce/includes/api-client/class-activecampaign-for-woocommerce-api-client.php on line 370

Thanks

Regards,
Tiziano.