Title: your plugin causes error
Last modified: September 23, 2018

---

# your plugin causes error

 *  Resolved [tazotodua](https://wordpress.org/support/users/tazotodua/)
 * (@tazotodua)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/your-plugin-causes-error/)
 * Hello.
    your plugins (at least, StopBadBots) has somethings issue in programming,
   which causes to break other wordpress plugins (that’s confirmed after some tests).
 * For example, when we install WP-phpMyAdmin-extension (or WP-extra-file-types),
   and install your plugin, after that admin dashboard is broken. if we remove your
   plugin, everything works.
 * if you use wp_get_current_user() in those plugins anywhere in constructor (as
   those plugins are loaded after your plugin, because of alphabetical order), then
 * $GLOBALS[‘current_user’]
 * returns different response, than it returns in other plugins’ constructors (which
   are loaded before your plugin).
 * so, after looping through 60 plugins, your plugin caused this problem.
 * please detect the problem, otherwise we have to remove that from our websites,
   however, we’d like to have it.
 * — update
    my further checking lead to the line (in main plugin file), where you
   call:
 * require_once(ABSPATH . ‘wp-includes/pluggable.php’);
 * that causes unexpected results. You’d better to hook your program in `init` action
   probably, or `plugins_loaded`
    -  This topic was modified 7 years, 8 months ago by [tazotodua](https://wordpress.org/support/users/tazotodua/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [sminozzi](https://wordpress.org/support/users/sminozzi/)
 * (@sminozzi)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/your-plugin-causes-error/#post-10715745)
 * Hi Tazo,
 * Wow ! you have more than 60 plugins loaded !!!
 * We have more than 9.000 users and the plugin works fine.
 * Please, take a look in our troubleshooting page:
    [http://siterightaway.net/troubleshooting/ ](http://siterightaway.net/troubleshooting/)
 * You can also add one comment in that line, this way:
    **//** require_once(ABSPATH.‘
   wp-includes/pluggable.php’);
 * Then, please, let me know.
 * In future, please, go to our support page, it is easy for us: (we can get your
   message quickly)
    [http://www.billminozzi.com/dove/](http://www.billminozzi.com/dove/)
 * Cheers,
    Bill

Viewing 1 replies (of 1 total)

The topic ‘your plugin causes error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/stopbadbots_f0f0f0.svg)
 * [Block Bad Bots and Stop Bad Bots Crawlers and Spiders and Anti Spam Protection](https://wordpress.org/plugins/stopbadbots/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/stopbadbots/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/stopbadbots/)
 * [Active Topics](https://wordpress.org/support/plugin/stopbadbots/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/stopbadbots/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/stopbadbots/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [sminozzi](https://wordpress.org/support/users/sminozzi/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/your-plugin-causes-error/#post-10715745)
 * Status: resolved