-
Notifications
You must be signed in to change notification settings - Fork 417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when try viewing plugin version details #344
Comments
Is the code that calls |
Is in the main file (just the plugin-update-checker folder moved to an "inc" folder). Plugin header (replaced to dummy text, but the text format is stilled):
The checker's code at bottom of the plugin main file:
The info.json path is ok, cuz' the update works, just the info popup not. |
All right, that's good. Here's another idea: try opening the "view details" link in a new tab. Check the link URL: does the slug shown in the URL match the slug in your code? Try replacing the slug with the name of the plugin's directory (for example, if the main file is
I think WordPress has something like that, yes, but PUC is supposed to already handle that. |
Yes, all matching. Error msg is written the first comment. I dont know whats wrong.. |
Could it be a capitalization issue? You mentioned that the plugin name is "PhreshService". Is the plugin directory name |
Nope.. :( The plugin name is capitalized only in the header information:
the directory, and the file name of course full lowercase. I change to lowercase for a test the plugin name in the header info and the "name" in the info.json on the server file also, but nothing (so all lowercase on all place, not works too). The problem is still there. So i wrote back in the header and the .json. |
Unfortunately, I don't have any more ideas at the moment. Is there a chance you could create a minimal plugin that reproduces the issue? That is, make a plugin that just initialises the update checker in the same way as your real plugin and doesn't do anything else (give it a different name and slug). See if it also has the same problem when you click the "view details" link. If it does, post the plugin code here. I'll install it on a test site and see if I can figure out what's causing the problem. |
Yeah, i test with a purged version for a while, so i send to you a copy. Thank you very much for your help and time. |
Thank you for the example plugin. It seems to work fine on my site (WP 5.4-alpha). Here's what I see when I click the "View version 1.1.1 details" link: This suggests that the problem is not with the update checker or your plugin, but with something else that's happening on your site or server. It could be a compatibility issue or a plugin/theme conflict. Please try temporarily deactivating all other plugins and switching to the default theme. Does that fix the problem? Also, what WordPress version are you using? |
Holy sh|t... I dont belive.. Yeah, U R right. At least, once a time maybe this thread is help someone else too, who like develop on localhost... :D |
All right, no worries. I'll close this now. |
Hi!
Thanks for the lib, its a great work and very useful for many dev.
I have a bit problem, with the details part.
I am developing my own plugin and now built in your lib.
If i click on plugin version details link, then it gives me error: Plugin not found.
Query Monitor:
I try some other slug to check it whats wrong but, i didn't.
If i change the slug to a plugin what is installed from wp repo, then works the info popup, but all other not.
I think, the problem is the new WordPress restricted download updates form unknown hosts.
I find a possible solution for the problem in another repo pull request.
Needs the Plugin name also..
Please check and try to reconstruct the problem, and if this plugin name extend not solve the problem, i try to help find the solution.
Thanks
The text was updated successfully, but these errors were encountered: