White Label CMS
[resolved] Conflict with wpMandrill plugin (8 posts)

  1. andamira
    Posted 2 years ago #

    When using this plugin with wpMandrill it gives the following error:

    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.

    Could you please put in contant with wpMandrill dev team to solve this issue?

    This is the topic in wpMandrill support.


  2. Ovidiu
    Posted 2 years ago #

    I'm having the very same conflict.

  3. srumery
    Posted 2 years ago #

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

  4. mvdesign
    Posted 2 years ago #

    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.

  5. Gary Darling
    Posted 2 years ago #

    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.

  6. srumery
    Posted 2 years ago #

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

  7. Video User Manuals
    Plugin Author

    Posted 2 years ago #

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

  8. andamira
    Posted 2 years ago #

    Good news! thank you!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • White Label CMS
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic