Membership 2 Pro MailChimp Integration fatal error

I get the following error when I activating MailChimp Integration add-on

Fatal error: Cannot use object of type WP_Error as array in …/wp-content/plugins/membership/lib/mailchimp-api/Mailchimp.php on line 61