Plugin not found
roguewdesign opened this issue · comments
Since upgrading to version 5, clicking the View Details or update now options returns "Plugin not found". I've spent a few hours trying to figure this out, followed the setup guides but can't figure out what's causing this :(
Here are some ideas:
- Is there anything interesting/unusual going on with plugin slugs? Special characters in the slug? Using filters to change the slug?
- Does the correct plugin file name get passed to the update checker? Initialization code in the main plugin file or a different file? Maybe in a different plugin?
- Anything that would prevent the update checker from running in an AJAX request or an iframe?
I don't see any issues with the slugs or file path. I have tried a few different settings for those, but can't seem to get it to work.
As Example:
FILE PATH: {absolute-path} 'my-plugin-name/my-plugin-name.php'
SLUG my-plugin-name
I'll look into this further and see if it's an AJAX issue. It was working with version 4 but not 5.
Cheers
What exactly do you mean by: "{absolute-path} 'my-plugin-name/my-plugin-name.php'"? That looks like a relative path, not like a valid example of an absolute path. You don't need to post the actual code here, but are you sure that you're passing the correct, full path to the update checker?
The directory path to the file. It is correct and verified. (/home/usr/public/website-folder.../etc...) as an example.
Some more ideas:
- Deactivate all other plugins to check for plugin conflicts.
- Does the "check for updates" link work, or does it also show an error of some kind?
- When you look at the URL of the "view details" link, does it show the correct plugin slug/directory? The URL usually looks something like this:
.../wp-admin/plugin-install.php?tab=plugin-information&plugin=your-plugin-here&TB_iframe=true&...
- Install the Debug Bar plugin and look at the "PUC (your-plugin-slug)" panel. Does everything look correct there? Do the "Request Info" and "Check Now" buttons work without errors?
- Turn on
WP_DEBUG
and see if any errors/warnings/notices show up.