Support

Home Forums MailChimp Integration Fatal Error if I have an existing MailChimp plugin

Fatal Error if I have an existing MailChimp plugin

Posted: January 15, 2016 at 3:41 am

Viewing 4 reply threads


KineticPulse

January 15, 2016 at 3:41 am

I already have EasyMailchimp installed as I have a ‘signup for newsletters’ form on the home page

When I try to add an API key to Event Espresso mailchimp admin I get this:

PHP Fatal error: Cannot redeclare class Drewm\\MailChimp in /home/sites/tallulahroseflowers.com/public_html/newsite/wp-content/plugins/eea-mailchimp/includes/MailChimp.class.php on line 19: /home/sites/tallulahroseflowers.com/public_html/newsite/wp-admin/admin.php


Tony

  • Support Staff

January 15, 2016 at 4:27 am

Hi there,

The EasyMailchimp plugin you mentioned is that this one or another?


KineticPulse

January 15, 2016 at 4:38 am

This one:
https://wordpress.org/plugins/easy-peasy-mailchimp-ajax-form/

It’s quite basic – do you think if I just renamed the class in that plugin it would fix the issue?


Tony

  • Support Staff

January 15, 2016 at 4:57 am

Hmm, the plugin is using the same MailChimp class we are and the same namespacing which is why its causing an issue.

I’ve created a ticket for our developers to investigate this.

I don’t recommend changing the class as you’ll need to edit the core plugin to do that, the modifications will be lost on update and you will be back to square one again (which could be unexpected if the updates done happen for a while)


KineticPulse

January 15, 2016 at 5:52 am

Thanks. In the meantime I’ll amend the Easy MC plugin and turnoff update notifications for it

Viewing 4 reply threads

The support post ‘Fatal Error if I have an existing MailChimp plugin’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso