Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The following warning is in the watchdog all the time:
Warning: curl_close() expects parameter 1 to be resource, null given in Mailchimp->__destruct() (line 278 of /var/www/live/htdocs/sites/all/libraries/mailchimp/src/Mailchimp.php)
I have installed library version 2.0.4
Comments
Comment #1
Kcannick CreditAttribution: Kcannick commentedI am experiencing the same issue.
Comment #2
Ravenight CreditAttribution: Ravenight commentedHere is what I am seeing:
Warning: curl_close() expects parameter 1 to be resource, null given in Mailchimp->__destruct() (line 278 of /var/www/sites/all/libraries/mailchimp/src/Mailchimp.php).
Comment #3
Gomez_in_the_South CreditAttribution: Gomez_in_the_South commentedI'm getting this error as well, on a new installation, using Mailchimp 7.x-3.0-beta1 and library version 2.0.4.
Comment #4
levelos CreditAttribution: levelos commentedThis was actually fixed here: http://cgit.drupalcode.org/mailchimp/commit/?h=7.x-3.x&id=3c09d941b4fdd4....
We'll be rolling a release very soon that includes this fix.