• Resolved Hal

    (@halburgissnet)


    This plugin is recently installed, and it is not listed under the Tool menu (too bad can’t provide a screenshot). I deactivated/reactivated 3 times, still no show. I don’t control this server, but pretty sure there isn’t caching that might be getting in the way. If I had direct link to the plugin that would probably work for me. This site is in production and I can’t start disabling other plugins. Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Hal

    (@halburgissnet)

    I have disabled all other plugins and switched themes to the default WP theme. No errors in console and no errors in the logs either. Still no show.

    Can anyone supply the direct link?

    I had this problem too but accessing the url directly seems to indicate I don’t have permission when accessing https://yourdomain.com/wp-admin/tools.php?page=better-search-replace

    Looking at the way the plugin filters by user capability it seems to be using ‘install_plugins’ as the capability needed to load the plugin. This seems like an oversight by the plugin developer as on my WordPress installation (and on plenty of others) I have plugin installation disabled via the admin as all plugins are managed via composer using wpackagist. Quite possible some web hosts also manage plugins outside wordpress or via WP-CLI.

    As a hot fix to workaround I changed ‘install_plugins’ to ‘manage_options’ in th following plugin files:

    /includes/class-bsr-admin.php – Line 84 & Line 263
    /better-search-replace.php – Line 56

    • This reply was modified 3 years, 6 months ago by Matt Stone.
    Thread Starter Hal

    (@halburgissnet)

    THANK YOU Matt! That is indeed the issue, as we normally do all plugin management via wp cli and the admin ability is disabled. I didn’t want to spend time reading the code so used another plugin. Thanks again, hopefully this helps others too!

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    @bilaltas If you need support then raise your own support topic instead. The Report this topic link is not for support. It’s for reporting abuse, spam, etc.

    Don’t use that option to get support.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Not Showing in Tools Menu’ is closed to new replies.