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.22k stars 403 forks source link

Not working #515

Closed Zaeem6100 closed 1 year ago

Zaeem6100 commented 1 year ago

I am using the GitHub integrations to update the theme. it works locally fine but with WP-ENGINE hosting and on multisite it wont works

YahnisElsts commented 1 year ago

Could you elaborate on "not working"? For example, does it mean that you're getting an error of some kind, or are update notifications not showing up, or do updates show up but you can't install them for some reason?

Also, have you tried looking at the PUC debug information in the Debug Bar? Does everything look fine there?

Zaeem6100 commented 1 year ago

In the child site with PUC, it shows that there is an update available image

but in the Network admin site it don't show the PUC as well as update image Debug bar in network Admin site image its not showing the PUC

YahnisElsts commented 1 year ago

Due to technical limitations, the update checker can only display an update when the update checker's code is running. If that code is part of a theme, it will only run in the network admin if that theme is active on the main site. Is it active on the main site?

If you can't/don't want to activate the theme on the main site, you'll need to find another way to run the update checker on the main site. For example, you could put that code in a small companion plugin, and activate only that plugin on the main site.

Zaeem6100 commented 1 year ago

Done