WPIntell

Source evidence

Plugin not found

Performance Lab · review · 2024-06-18T09:47:00+00:00

complaintsentiment
highseverity
1.0relevance
16replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

7 / 33 rows with source links

21.2% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

26 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

review
motouta unresolved
When I try to enable each option on the settings screen, I get an error message saying “Plugin not found” and it becomes unusable. Thanks for reaching out @motouta . So we can determine more on this, please share the following: Your Site Health information. (Tools > Site Health > info > Copy site info to clipboard) 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 . After doing so, please check does this install as expected. Let me know if you have any questions with the above. For reference, see the code location for this error message. Specifically, this code seems to be failing: $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. 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 no custom plugin directory or other shenanigans. any ideas? @gordonrjones There are three possible locations where this error could be coming from: 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#L86 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. PR for improving the translation strings: https://github.com/WordPress/performance/pull/1651 This reply was modified 1 year, 7 months ago by Weston Ruter . thanks Weston – i’m dumb/brave enough to hack at the php, but will definitely some very prescriptive instructions 😉 @gordonrjones Here’s one better for you. You can install the performance-lab.zip linked to from the PR comment I just left. That includes the updated strings, so we’ll be able to narrow-down where the error is coming from. thanks! installed (3.6.0-alpha) and activated. from “settings” this is there error: https://www.awesomescreenshot.com/image/51553919?key=8c33abeb9c9a34877d2d3755c6229e6d 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 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? 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. 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/ Hello. I have the same problem. Tried to install modules manually, but didn’t help. Site located on WPEngine. @artemkoz You can’t search the plugin directory for a plugin like “Speculative Loading”? @westonruter In Settings -> Performance it just says this: Failed to query WordPress.org Plugin Directory for the following plugin: auto-sizes (active) dominant-color-images (active) embed-optimizer (active) image-prioritizer (active) performant-translations (active) speculation-rules (active) web-worker-offloading (active) 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. @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. @westonruter thank you. It seems to work, so I leave it as is.

Comments

16 shown
James Osborne 2024-06-18T15:18:00+00:00

Thanks for reaching out @motouta . So we can determine more on this, please share the following: Your Site Health information. (Tools > Site Health > info > Copy site info to clipboard) 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 . After doing so, please check does this install as expected. Let me know if you have any questions with the above.

Weston Ruter 2024-06-18T16:30:00+00:00

For reference, see the code location for this error message. Specifically, this code seems to be failing: $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 2024-11-12T23:22:00+00:00

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 no custom plugin directory or other shenanigans. any ideas?

Weston Ruter 2024-11-12T23:54:00+00:00

@gordonrjones There are three possible locations where this error could be coming from: 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#L86 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.

Weston Ruter 2024-11-13T00:16:00+00:00

PR for improving the translation strings: https://github.com/WordPress/performance/pull/1651 This reply was modified 1 year, 7 months ago by Weston Ruter .

gordonrjones 2024-11-13T22:54:00+00:00

thanks Weston – i’m dumb/brave enough to hack at the php, but will definitely some very prescriptive instructions 😉

Weston Ruter 2024-11-13T23:25:00+00:00

@gordonrjones Here’s one better for you. You can install the performance-lab.zip linked to from the PR comment I just left. That includes the updated strings, so we’ll be able to narrow-down where the error is coming from.

gordonrjones 2024-11-14T01:59:00+00:00

thanks! installed (3.6.0-alpha) and activated. from “settings” this is there error: https://www.awesomescreenshot.com/image/51553919?key=8c33abeb9c9a34877d2d3755c6229e6d

Weston Ruter 2024-11-14T03:26:00+00:00

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 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 2024-11-22T01:25:00+00:00

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.

Weston Ruter 2024-11-22T01:28:00+00:00

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/

artemkoz 2024-12-19T17:07:00+00:00

Hello. I have the same problem. Tried to install modules manually, but didn’t help. Site located on WPEngine.

Weston Ruter 2024-12-19T17:36:00+00:00

@artemkoz You can’t search the plugin directory for a plugin like “Speculative Loading”?

artemkoz 2024-12-20T16:37:00+00:00

@westonruter In Settings -> Performance it just says this: Failed to query WordPress.org Plugin Directory for the following plugin: auto-sizes (active) dominant-color-images (active) embed-optimizer (active) image-prioritizer (active) performant-translations (active) speculation-rules (active) web-worker-offloading (active) 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.

Weston Ruter 2024-12-20T16:47:00+00:00

@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.

artemkoz 2024-12-20T21:18:00+00:00

@westonruter thank you. It seems to work, so I leave it as is.