I’ve just found that for the last month, the API Mailchimp integration on my site has not been working. Anyone who attempts to join (and hence be added to my Mailchimp list) gets this error:
Warning : file_get_contents(https://us19.api.mailchimp.com/3.0/lists/c7(mylistid)/members/(************************my api key)): failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request in /home/customer/www/harmonicatime.com/public_html/wp-content/plugins/s2member/src/includes/externals/mailchimp/Mailchimp.php on line 65
Warning : Cannot modify header information - headers already sent by (output started at /home/customer/www/harmonicatime.com/public_html/wp-content/plugins/s2member/src/includes/externals/mailchimp/Mailchimp.php:65) in /home/customer/www/harmonicatime.com/public_html/wp-includes/pluggable.php on line 1093
I’ve just run a bunch of tests including disabling ALL other plugins except for s2member and the error remains.
I’ve looked at the php code on both lines mentioned in the error and it seems it may be something to do with a cookie… but I’m definitely no expert here.
Can you please help? My business only runs with this working!