Title: Plugin not found
Last modified: January 16, 2025

---

# Plugin not found

 *  [motouta](https://wordpress.org/support/users/motouta/)
 * (@motouta)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/plugin-not-found-9/)
 * When I try to enable each option on the settings screen, I get an error message
   saying “Plugin not found” and it becomes unusable.

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

1 [2](https://wordpress.org/support/topic/plugin-not-found-9/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-not-found-9/page/2/?output_format=md)

 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/plugin-not-found-9/#post-17833367)
 * Thanks for reaching out [@motouta](https://wordpress.org/support/users/motouta/).
   So we can determine more on this, please share the following:
    1. Your Site Health information. [_(Tools > Site Health > info > Copy site info to clipboard)_](https://i.imgur.com/Rtkmsba.png)
    2. Have you made any recent changes to your WordPress environment, such as changing
       the location of your WordPress files?
 * Note also that you may also be able to manually upload and install the module
   related plugins from Performance Lab, as zip files. For example you may wish 
   to download the Modern Image formats plugin (v2.0.1) [from here](https://downloads.wordpress.org/plugin/webp-uploads.2.0.1.zip).
   After doing so, please check does this install as expected.
 * Let me know if you have any questions with the above.
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/plugin-not-found-9/#post-17833619)
 * For reference, see the [code location](https://github.com/WordPress/performance/blob/2b2bebcb9a6285fac8653d078c1d49588f3c6b70/plugins/performance-lab/includes/admin/plugins.php#L277-L279)
   for this error message. Specifically, this code seems to be failing:
 *     ```wp-block-code
       $plugins = get_plugins( '/' . $plugin_slug );
       ```
   
 * I wonder if there is a custom directory being used for installed plugins?
 * Lastly, instead of installing the plugins from ZIP files you can also just search
   the plugin directory for the plugin and install it that way instead.
 *  [gordonrjones](https://wordpress.org/support/users/gordonrjones/)
 * (@gordonrjones)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/plugin-not-found-9/#post-18130597)
 * i’m experiencing the same issue with the Performance Lab plugin. installed via
   the directory and manual methods – same result. error screenshot: [https://www.awesomescreenshot.com/image/51530496?key=4a2d4576e6eeb46a2d4a159a81ccad0f](https://www.awesomescreenshot.com/image/51530496?key=4a2d4576e6eeb46a2d4a159a81ccad0f)
   
   no custom plugin directory or other shenanigans.any ideas?
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/plugin-not-found-9/#post-18130638)
 * [@gordonrjones](https://wordpress.org/support/users/gordonrjones/) There are 
   three possible locations where this error could be coming from:
    1. [https://github.com/WordPress/performance/blob/7c6aa818b5c9707d7619a91614548ef51efba033/plugins/performance-lab/includes/admin/plugins.php#L28](https://github.com/WordPress/performance/blob/7c6aa818b5c9707d7619a91614548ef51efba033/plugins/performance-lab/includes/admin/plugins.php#L28)
    2. [https://github.com/WordPress/performance/blob/7c6aa818b5c9707d7619a91614548ef51efba033/plugins/performance-lab/includes/admin/plugins.php#L86](https://github.com/WordPress/performance/blob/7c6aa818b5c9707d7619a91614548ef51efba033/plugins/performance-lab/includes/admin/plugins.php#L86)
    3. [https://github.com/WordPress/performance/blob/7c6aa818b5c9707d7619a91614548ef51efba033/plugins/performance-lab/includes/admin/plugins.php#L363](https://github.com/WordPress/performance/blob/7c6aa818b5c9707d7619a91614548ef51efba033/plugins/performance-lab/includes/admin/plugins.php#L363)
 * All three are in that same file: `includes/admin/plugins.php`. Unfortunately 
   we’re reusing the same string for each error. Are you comfortable editing the
   strings in the plugin file editor in WordPress to, for example, add `__LINE__`
   after the strings so we can differentiate between them? This will help us debug
   where the error is coming from.
 * Aside: I also see that we’re using the string with the `default` text domain 
   once, but with the `performance-lab` text domain twice. That’s not good either.
   I’ll open a PR to fix this for the next release, as well as to make the strings
   unique.
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/plugin-not-found-9/#post-18130660)
 * PR for improving the translation strings: [https://github.com/WordPress/performance/pull/1651](https://github.com/WordPress/performance/pull/1651)
    -  This reply was modified 1 year, 6 months ago by [Weston Ruter](https://wordpress.org/support/users/westonruter/).
 *  [gordonrjones](https://wordpress.org/support/users/gordonrjones/)
 * (@gordonrjones)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/plugin-not-found-9/#post-18133728)
 * thanks Weston – i’m dumb/brave enough to hack at the php, but will definitely
   some very prescriptive instructions 😉
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/plugin-not-found-9/#post-18133752)
 * [@gordonrjones](https://wordpress.org/support/users/gordonrjones/) Here’s one
   better for you. You can install the `performance-lab.zip` linked to from the 
   [PR comment](https://github.com/WordPress/performance/pull/1651#issuecomment-2475026928)
   I just left. That includes the updated strings, so we’ll be able to narrow-down
   where the error is coming from.
 *  [gordonrjones](https://wordpress.org/support/users/gordonrjones/)
 * (@gordonrjones)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/plugin-not-found-9/#post-18133893)
 * thanks! installed (3.6.0-alpha) and activated. from “settings” this is there 
   error:
   [https://www.awesomescreenshot.com/image/51553919?key=8c33abeb9c9a34877d2d3755c6229e6d](https://www.awesomescreenshot.com/image/51553919?key=8c33abeb9c9a34877d2d3755c6229e6d)
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/plugin-not-found-9/#post-18133945)
 * Well, it seems that the API request is not returning the expected plugins.
 * This is the PHP code that seems to not be returning the expected data: [https://github.com/WordPress/performance/blob/762df7464d293ec7dcd46ad19d0e6ceb5f81fcb9/plugins/performance-lab/includes/admin/plugins.php#L36-L56](https://github.com/WordPress/performance/blob/762df7464d293ec7dcd46ad19d0e6ceb5f81fcb9/plugins/performance-lab/includes/admin/plugins.php#L36-L56)
 * I don’t suppose you could find a way to run that PHP code on your site and do
   a `var_dump()` to see what it contains?
 *  [gordonrjones](https://wordpress.org/support/users/gordonrjones/)
 * (@gordonrjones)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/plugin-not-found-9/#post-18153094)
 * that’s getting a bit above my comfort/knowledge level – sorry. i will probably
   de-activate and wait for the next version to see if that somehow fixes. thanks
   for the assistance.
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/plugin-not-found-9/#post-18153095)
 * In any case, you don’t need to install the plugins via the Performance screen.
   You can install them directly. Just search the directory for the plugins listed
   in the plugin description: [https://wordpress.org/plugins/performance-lab/](https://wordpress.org/plugins/performance-lab/)
 *  [artemkoz](https://wordpress.org/support/users/artemkoz/)
 * (@artemkoz)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/plugin-not-found-9/#post-18209270)
 * Hello. I have the same problem. Tried to install modules manually, but didn’t
   help. Site located on WPEngine.
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/plugin-not-found-9/#post-18209352)
 * [@artemkoz](https://wordpress.org/support/users/artemkoz/) You can’t search the
   plugin directory for a plugin like “Speculative Loading”?
 *  [artemkoz](https://wordpress.org/support/users/artemkoz/)
 * (@artemkoz)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/plugin-not-found-9/#post-18211100)
 * [@westonruter](https://wordpress.org/support/users/westonruter/) In Settings -
   > Performance it just says this:
 * Failed to query WordPress.org Plugin Directory for the following plugin:
    - [`auto-sizes`](https://wordpress.org/plugins/auto-sizes/) (active)
    - [`dominant-color-images`](https://wordpress.org/plugins/dominant-color-images/)(
      active)
    - [`embed-optimizer`](https://wordpress.org/plugins/embed-optimizer/) (active)
    - [`image-prioritizer`](https://wordpress.org/plugins/image-prioritizer/) (active)
    - [`performant-translations`](https://wordpress.org/plugins/performant-translations/)(
      active)
    - [`speculation-rules`](https://wordpress.org/plugins/speculation-rules/) (active)
    - [`web-worker-offloading`](https://wordpress.org/plugins/web-worker-offloading/)(
      active)
    - [`webp-uploads`](https://wordpress.org/plugins/webp-uploads/) (active)
 * The following error occurred:
    - Plugin not found.
 * Please consider manual plugin installation and activation. You can then access
   each plugin’s settings via its respective “Settings” link on the Plugins screen.
 * I tried to install new version, installed modules manually, but still have this
   problem.
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/plugin-not-found-9/page/2/#post-18211112)
 * [@artemkoz](https://wordpress.org/support/users/artemkoz/) Hummm. Strange. I 
   wonder if there is an issue with how WPEngine is configuring their plugin directory
   lookups. In any case, you have all the plugins installed and active, apparently,
   so you don’t need to activate the features from the Performance screen.

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

1 [2](https://wordpress.org/support/topic/plugin-not-found-9/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-not-found-9/page/2/?output_format=md)

The topic ‘Plugin not found’ is closed to new replies.

 * ![](https://ps.w.org/performance-lab/assets/icon.svg?rev=2787149)
 * [Performance Lab](https://wordpress.org/plugins/performance-lab/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/performance-lab/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/performance-lab/)
 * [Active Topics](https://wordpress.org/support/plugin/performance-lab/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/performance-lab/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/performance-lab/reviews/)

 * 18 replies
 * 7 participants
 * Last reply from: [artemkoz](https://wordpress.org/support/users/artemkoz/)
 * Last activity: [1 year, 5 months ago](https://wordpress.org/support/topic/plugin-not-found-9/page/2/#post-18211425)