Problem:
When no API key is entered, on user profile page I get fatal error.

Proposed solution:
Add validation, if mailchimp_get_api_object() function returns object or not.

Comments

CountPacMan’s picture

Status: Active » Postponed (maintainer needs more info)

To clarify, this is before entering an API key? Right after enabling the module for the first time?

mirom’s picture

yes

CountPacMan’s picture

What version of the Libraries module are you using? Have you installed the MailChimp API Library?

mirom’s picture

Status: Postponed (maintainer needs more info) » Needs work

Libraries version is 7.x-2.2, Mailchimp API Library is of course installed.

ruscoe’s picture

Status: Needs work » Closed (won't fix)

We're going to be ending support for the 7.x-3.x branch due to the upcoming deprecation of the v2.0 MailChimp API. If you're still seeing this issue with the most recent release, please feel free to reopen for the 7.x-4.x branch.