Closed (fixed)
Project:
Mailchimp
Version:
8.x-1.x-dev
Component:
General
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Apr 2016 at 16:10 UTC
Updated:
23 May 2016 at 01:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jteeterxtreme commentedGetting the same error, this has been the only reference I've been able to find for it.
* Also getting this error at admin/config/services/mailchimp/lists
Comment #3
jteeterxtreme commentedI think I've figured it out, at least for the issue I was having. I was getting an SSL cert error witch was causing this exception, and had to update my php.ini
basically followed this: http://stackoverflow.com/questions/21114371/php-curl-error-code-60
then flushed my caches, then it started working. Good Luck!
Comment #4
sicher commentedWhere did you get the SSL cert error? I don't see one in the Apache error log.
Comment #5
mohammed76I am getting this error also on a lemp installation. anyone else found a solution?
Comment #6
sicher commentedIt's definitely a cert issue. You need older certificates:
http://stackoverflow.com/questions/22973701/ssl-errors-using-mailchimps-api
Comment #7
evilehk commentedWhile it's true that the exception can be thrown because of cert issues, the exception is not being handled properly because it assumes that there is a response body. In the 8.x-1.x version, the library is bundled with the module, so I created a patch. The attached patch will pass the message from the Exception instead of the body of a potentially null object.
I made a GitHub pull request against the mailchimp-api-php library as well.
Comment #8
ruscoe commentedThanks for the patch, @evilehk. I left a comment on your GitHub pull request explaining why we couldn't use that exact solution and what the work-around was.
This should now work fine in the current 8.x-1.x-dev branch.