YahnisElsts / plugin-update-checker

A custom update checker for WordPress plugins. Useful if you don't want to host your project in the official WP repository, but would still like it to support automatic updates. Despite the name, it also works with themes.
MIT License
2.21k stars 403 forks source link

Plugin not found #530

Open roguewdesign opened 1 year ago

roguewdesign commented 1 year ago

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 :(

YahnisElsts commented 1 year ago

Here are some ideas:

roguewdesign commented 1 year ago

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

YahnisElsts commented 1 year ago

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?

roguewdesign commented 1 year ago

The directory path to the file. It is correct and verified. (/home/usr/public/website-folder.../etc...) as an example.

YahnisElsts commented 1 year ago

Some more ideas: