WordPress.org

Forums

wpMandrill
Mandrill: wp_mail has been declared by another process or plugin, so you won't b (3 posts)

  1. Joseph G
    Member
    Posted 1 year ago #

    I'm running wpMandrill version 1.33 and I keep getting the following error since upgrading to WP 3.9:

    Mandrill: wp_mail has been declared by another process or plugin, so you won't be able to use Mandrill until the problem is solved.

    Any ideas?

    https://wordpress.org/plugins/wpmandrill/

  2. dianadevargas
    Member
    Posted 1 year ago #

    Hi,

    I have the same problem in WP version 3.8 and now in 3.9.

    You can do this changes in wpmandrill.php

    from line 54

    if( function_exists('wp_mail') ) {
        $r = new ReflectionFunction('wp_mail');
        $original = ($r->getFileName() === ABSPATH . WPINC . '/pluggable.php');
         if (!$original) {
            self::$conflict = true;
            add_action('admin_notices', array(__CLASS__, 'adminNotices'));
            return;
        }
    }

    also replace :

    if( self::isConfigured() ) {

    with

    if( self::isConfigured() && !function_exists('wp_mail') ) {

    The plugin will work perfectly after that.

  3. cookieloop
    Member
    Posted 1 month ago #

    My problem was the ShortPixel Image Optimiser plugin , in a multisite wordpress install, i deactivated the network plugin option , and activated the plugin in the single site", no more error.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • wpMandrill
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic