Viewing 7 replies - 1 through 7 (of 7 total)
  • Ovidiu

    (@ovidiu)

    I’m having the very same conflict.

    srumery

    (@srumery)

    I see the conflict as well. Any reason why White Label CMS would have anything to do with wp_mail?

    We are also getting this exact same conflict. We would love to use both White Label CMS and Mandrill. Has any one got any ideas? Great if this could be resolved. Thanks.

    I did some testing and found the culprit – edit out this line of code in White Label CMS (line 26 in wlmcs-plugin.php) and now the two plugins happily co-exist (at least on my localhost they do):

    if(!function_exists('wp_get_current_user')) {
        include(ABSPATH . "wp-includes/pluggable.php");
    }

    One of the commenters on the wpMandrill support page posted the fix.

    This line of code appears to be checking the existence of a native WP function, wp_get_current_user(), and if it doesn’t exist it includes the file that function is defined in.

    From what I can see, wp-includes/pluggable.php is a core file, and should get loaded by wordpress itself, so I’m not sure why WLMCS needs to check for it. It might be better to use an action hook like ‘plugins_loaded’ to accomplish whatever goal is desired.

    That’s good to hear Gary. Thank you for posting!

    Plugin Author Video User Manuals

    (@videousermanuals)

    Thanks guys, this will be removed in the next version.

    Thread Starter andamira

    (@andamira)

    Good news! thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Conflict with wpMandrill plugin’ is closed to new replies.