• Resolved jacqdesign

    (@jacqdesign)


    I got the following error when trying to connect to Mailchimp during setup for the first time.

    Fatal error: Uncaught Error: Call to undefined function curl_init() in /home/makerjj2020/public_html/wp-content/plugins/mailchimp-for-woocommerce/includes/api/class-mailchimp-api.php:1607 Stack trace: #0 /home/makerjj2020/public_html/wp-content/plugins/mailchimp-for-woocommerce/includes/api/class-mailchimp-api.php(91): MailChimp_WooCommerce_MailChimpApi->get('/') #1 /home/makerjj2020/public_html/wp-content/plugins/mailchimp-for-woocommerce/admin/class-mailchimp-woocommerce-admin.php(625): MailChimp_WooCommerce_MailChimpApi->ping(true, true) #2 /home/makerjj2020/public_html/wp-content/plugins/mailchimp-for-woocommerce/admin/class-mailchimp-woocommerce-admin.php(529): MailChimp_WooCommerce_Admin->validatePostApiKey(Array) #3 /home/makerjj2020/public_html/wp-includes/class-wp-hook.php(289): MailChimp_WooCommerce_Admin->validate(Array) #4 /home/makerjj2020/public_html/wp-includes/plugin.php(206): WP_Hook->apply_filters(Array, Array) #5 /home/makerjj2020/public_html/wp-includes/formatting.php(4899): apply_filters('sanitize_opt in /home/makerjj2020/public_html/wp-content/plugins/mailchimp-for-woocommerce/includes/api/class-mailchimp-api.php on line 1607

    There has been a critical error on your website. Please check your site admin email inbox for instructions.

    We have CURL installed, and I have increased the memory limit to 1 GB. Still no luck. Please help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author ryanhungate

    (@ryanhungate)

    Hi @jacqdesign – can you please verify with your web host that your PHP build has enabled CURL too? This function being missing is telling us that CURL has not been enabled at a minimum.

    Thread Starter jacqdesign

    (@jacqdesign)

    Hi @ryanhungate, thank you. I finally got into the EasyApache 4 and provisioned CURL installs. Now the plugin works as expected.

    • This reply was modified 4 years, 6 months ago by jacqdesign.
    Plugin Author ryanhungate

    (@ryanhungate)

    @jacqdesign it just needs to be compiled in the PHP build process and enabled in your PHP INI file. It’s a PHP extension that might simply need to be enabled – then restart PHP to take effect ??

    Plugin Author ryanhungate

    (@ryanhungate)

    You should be able to verify in your WooCommerce Status page as well that it IS or IS NOT enabled and can use that as an identifier for your web host to show them that it’s installed properly before you’ve tried to connect to Mailchimp.

    Thread Starter jacqdesign

    (@jacqdesign)

    Thank you~ You are correct on the CURL install though. Once I got it actually installed myself, things are running perfectly and now I am finalizing the setup! ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Critical error when connecting to Mailchimp during setup’ is closed to new replies.