Title: Plugin not working-declared by another plugin
Last modified: August 30, 2016

---

# Plugin not working-declared by another plugin

 *  [abhivjvm](https://wordpress.org/support/users/abhivjvm/)
 * (@abhivjvm)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-working-declared-by-another-plugin/)
 * Postman: wp_mail has been declared by another plugin or theme, so you won’t be
   able to use Postman until the conflict is resolved.
 * A few days back it was working fine but now I am getting this message on my dashboard…
   I read the support forum and did the diagnostic test, pluggable.php is the file,
   but i dont know how to resolve it
 * [https://wordpress.org/plugins/postman-smtp/](https://wordpress.org/plugins/postman-smtp/)

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/topic/plugin-not-working-declared-by-another-plugin/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-not-working-declared-by-another-plugin/page/2/?output_format=md)

 *  Plugin Author [Jason Hendriks](https://wordpress.org/support/users/jasonhendriks/)
 * (@jasonhendriks)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-working-declared-by-another-plugin/#post-6263331)
 * Have you installed or updated another plugin or theme since then?
 * It sounds like another plugin is changing the order of the WordPress bootstrap.
   I remember an issue like this before where another plugin was directly loading
   a core WordPress file, so the WordPress API hooks that Postman needs to use never
   got fired.
 * If you keep deactivating plugins until the message goes away, you should be able
   to find the culprit. Please let me know when you do.
 *  Thread Starter [abhivjvm](https://wordpress.org/support/users/abhivjvm/)
 * (@abhivjvm)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-working-declared-by-another-plugin/#post-6263333)
 * Yes i have installed a few…but i have tried deactivating them but did not work…
   i also checked the pluggable.php file but there was no mention of any plugin…
   shall i try reinstalling the postman smtp plugin ??
 *  Plugin Author [Jason Hendriks](https://wordpress.org/support/users/jasonhendriks/)
 * (@jasonhendriks)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-working-declared-by-another-plugin/#post-6263334)
 * > i also checked the pluggable.php file but there was no mention of any plugin
 * pluggable.php has a function called wp_mail. When Postman loads first, as it 
   should, Postman’s wp_mail is used and pluggable.php’s wp_mail is skipped. But,
   if Postman is not installed, pluggable.php’s wp_mail is used. Your problem is
   that pluggable.php is loaded before Postman. This is incorrect. It means something
   is messing with the WordPress bootstrap, and could cause other problems like 
   weird bugs or security holes. Plugins/themes are not supposed to directly call
   core files. That’s what the API is for.
 * > shall i try reinstalling the postman smtp plugin ??
 * I don’t believe reinstalling Postman will change anything.
 * Try: deactivating all plugins, every single one, and then switching to the default
   theme. Does the error go away?
 * Perhaps it’s your theme.
 *  Thread Starter [abhivjvm](https://wordpress.org/support/users/abhivjvm/)
 * (@abhivjvm)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-working-declared-by-another-plugin/#post-6263336)
 * Okay..let me try…see if it works…
 *  Plugin Author [Jason Hendriks](https://wordpress.org/support/users/jasonhendriks/)
 * (@jasonhendriks)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-working-declared-by-another-plugin/#post-6263338)
 * I remembered which plugin it was where I saw this before… PopUp by Supsystic…
   
   [https://wordpress.org/support/topic/email-problem-14?replies=3](https://wordpress.org/support/topic/email-problem-14?replies=3)
 *  Thread Starter [abhivjvm](https://wordpress.org/support/users/abhivjvm/)
 * (@abhivjvm)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-working-declared-by-another-plugin/#post-6263342)
 * I deactivated several plugins…it is working now
 *  Plugin Author [Jason Hendriks](https://wordpress.org/support/users/jasonhendriks/)
 * (@jasonhendriks)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-working-declared-by-another-plugin/#post-6263343)
 * See if you can narrow it down to a single plugin?
 *  Thread Starter [abhivjvm](https://wordpress.org/support/users/abhivjvm/)
 * (@abhivjvm)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-working-declared-by-another-plugin/#post-6263344)
 * yeah on it…installing them one by one
 *  Thread Starter [abhivjvm](https://wordpress.org/support/users/abhivjvm/)
 * (@abhivjvm)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-working-declared-by-another-plugin/#post-6263347)
 * It’s AIO Support Center
 *  Plugin Author [Jason Hendriks](https://wordpress.org/support/users/jasonhendriks/)
 * (@jasonhendriks)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-working-declared-by-another-plugin/#post-6263349)
 * Ugh… Code Canyon. You could try reporting the error to them and see how receptive
   the author is.
 * Because it’s paid-only I can’t even download the code to advise you what’s wrong
   or if it’s dangerous. If you want to [send it to me privately](http://www.codingmonkey.ca/contact/),
   I can take a look.
 *  Thread Starter [abhivjvm](https://wordpress.org/support/users/abhivjvm/)
 * (@abhivjvm)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-working-declared-by-another-plugin/#post-6263350)
 * I sent you the plugin. Please check and let me know if it was dangerous from 
   the security point of view
 *  Plugin Author [Jason Hendriks](https://wordpress.org/support/users/jasonhendriks/)
 * (@jasonhendriks)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-working-declared-by-another-plugin/#post-6263431)
 * I found the problem. It’s the same problem I found in PopUp by Subsystic.
 * On line two of di-aiosc/class/class.user.php
 *     ```
       if(!function_exists('wp_get_current_user')) {
           require_once(ABSPATH . "wp-includes/pluggable.php");
       }
       ```
   
 * This is causing the error message in Postman. I will contact the author for you,
   but they may or may not care what I say. You might have to choose between AIO
   Support Centre and Postman.
 * I looked at all the core files being called directly by this plugin and I don’t
   see anything else that might compromise security.
 *  Thread Starter [abhivjvm](https://wordpress.org/support/users/abhivjvm/)
 * (@abhivjvm)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-working-declared-by-another-plugin/#post-6263435)
 * Thanks…i will obviously choose postman smtp…your service and support both are
   great:)
 *  Plugin Author [Jason Hendriks](https://wordpress.org/support/users/jasonhendriks/)
 * (@jasonhendriks)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-working-declared-by-another-plugin/#post-6263437)
 * Thank-you, that’s very kind 🙂 Here is the message I sent:
 * > This code in class.user.php:
   >     ```
   >     <?php
   > 
   >     if(!function_exists('wp_get_current_user')) {
   > 
   >         require_once(ABSPATH . "wp-includes/pluggable.php");
   > 
   >     }
   >     ```
   > 
   > Loads pluggable.php before WordPress loads it, i.e. before the init hook. This
   > causes problems with other plugins, such as BBPress:
   >     ```
   >     The current user is being initialized without using $wp->init().
   >     ```
   > 
   > And Postman SMTP:
   >     ```
   >     Postman: wp_mail has been declared by another plugin or theme, so you won't be able to use Postman until the conflict is resolved.
   >     ```
   > 
   > Would you please remove the call to pluggable.php from this file. Accessing
   > the current user should wait until the [init](http://codex.wordpress.org/Plugin_API/Action_Reference/init)
   > hook. Please see [http://codex.wordpress.org/Plugin_API/Action_Reference](http://codex.wordpress.org/Plugin_API/Action_Reference).
 *  Thread Starter [abhivjvm](https://wordpress.org/support/users/abhivjvm/)
 * (@abhivjvm)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-working-declared-by-another-plugin/#post-6263438)
 * Thank You…I hope they will resolve the problem soon, like you did 🙂

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/topic/plugin-not-working-declared-by-another-plugin/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-not-working-declared-by-another-plugin/page/2/?output_format=md)

The topic ‘Plugin not working-declared by another plugin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/postman-smtp_7c7b78.svg)
 * [Postman SMTP Mailer/Email Log](https://wordpress.org/plugins/postman-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/postman-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/postman-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/postman-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/postman-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/postman-smtp/reviews/)

## Tags

 * [wp_mail bound](https://wordpress.org/support/topic-tag/wp_mail-bound/)

 * 21 replies
 * 6 participants
 * Last reply from: [Mkom](https://wordpress.org/support/users/mkom/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-working-declared-by-another-plugin/page/2/#post-6263742)
 * Status: not a support question