WordPress.org

Support

Support » Plugins and Hacks » wpMandrill » Mandrill: wp_mail has been declared by another process or plugin, so you won't b

Mandrill: wp_mail has been declared by another process or plugin, so you won't b

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Mandrill: wp_mail has been declared by another process or plugin, so you won't b’ is closed to new replies.
Skip to toolbar