• Resolved trodat330

    (@trodat330)


    When I activate your plugin, I get a conflict with another plugin using MailChimp. The developer (Gravity Forms) comments are:

    It appears they aren’t checking for the presence of the Mailchimp class before including their copy of the API files.

    Our add-on uses the official MailChimp provided API wrapper and we use the following to determine if the MailChimp API has already been loaded by another plugin before including our copy:

    if ( ! class_exists( ‘Mailchimp’ ) ) {
    require_once( ‘api/Mailchimp.php’ );
    }

    It seems they have renamed the MailChimp class to wpyksMCAPI.

    Can you provide a fix for how you load the API files to prevent conflicts?

    https://wordpress.org/plugins/yikes-inc-easy-mailchimp-extender/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Evan Herman

    (@eherman24)

    Hi Trodat330,

    I will work on pushing out a release in the next hour or so that will check if the class has been loaded or not.

    It should be v5.3.4, so keep an eye out.

    Thanks,
    Evan

    Thread Starter trodat330

    (@trodat330)

    Evan, thanks for addressing the issue. Do you have an ETA on a fix?

    Plugin Author Evan Herman

    (@eherman24)

    Hi Trodat330,

    I did take a brief look into the issue and believe the issue is that the MailChimp API class wrapper we are using is both modified, and renamed to wpyksMCAPI.

    I’ll need to go back in and include the correct, unmodified MailChimp PHP class wrapper.

    I will see what I can do about getting that pushed out today.

    After that update, I will be working on re-writing the entire plugin from the ground up to be far more stable.

    Thanks,
    Evan

    Plugin Author Evan Herman

    (@eherman24)

    Do you happen to know where/when the error is being generated?

    I’ve just activated our MailChimp plugin along with Gravity Forms and their MailChimp plugin, but I’m not seeing the error you mention above.

    Thanks,
    Evan

    Edit:
    I just came across it after adding my MailChimp API key to gravity forms.

    I will look into the issue now, and hopefully have some sort of fix for you in the next couple of hours.

    Thanks,
    Evan

    Plugin Author Evan Herman

    (@eherman24)

    Hi trodat330,

    I’ve just pushed out a v5.4 release, which now includes the appropriate (unaltered) class file. You should now be able to use our plugin along with Gravity Forms MailChimp add-on without any conflicts or issues.

    Please let me know if this helps resolve the issue so I can close out this ticket.

    Thanks a bunch!
    Evan

    Thread Starter trodat330

    (@trodat330)

    Evan,
    Woohoo, it works! No more errors. Thank you for the fix and responsiveness.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Gravity Forms conflict’ is closed to new replies.