• Resolved tazotodua

    (@tazotodua)


    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.
Viewing 1 replies (of 1 total)
  • Plugin Author sminozzi

    (@sminozzi)

    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/

    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/

    Cheers,
    Bill

Viewing 1 replies (of 1 total)

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