-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
Envato Fatal Error #182
Comments
Some more details is that I see now that one of the plugins that was supposed to be updated from Envato must have tried to download a bunch of times and kept failing. When I logged into Envato/CodeCanyon the download page says that there were attempts to download the plugin 20 times just today and hit the maximum download limit. It seems like there are major problems with how Envato downloads are happening. The plugin that seems to be causing this is: https://codecanyon.net/item/media-folders-manager-for-wordpress/21715379 I removed the single item token setup for that 1 plugin and now the site is not throwing that error anymore on the plugins page and when using the WP-CLI for plugin activities. Now, this could also be due to our setup. We have a setup where WordPress Core/SatisPress/other functional plugins are installed and managed via Composer. However, all of the other plugins are managed the normal through the Dashboard. However, our setup requires that files(like manually installed plugins) are installed in a shared files space that lives beyond site deployments when there are Composer updates. This means that every plugin that we are serving via SatisPress, and having auto-updated are symbolic linked directories and can't be deleted. In general, this has worked fine as the SatisPress packages have been captured but the running plugin on the SatisPress site doesn't get updated and requires a manual install/update. |
SatisPress hooks into the WordPress update process, so it doesn't trigger any events of its own. My guess is the fatal error prevents the core transient from being saved, which causes the update process to run more often than it should. I don't have time to look into this for a little bit, but this line probably needs to account for the You'll probably need to debug why Envato isn't allowing that particular plugin to be downloaded, though. |
@bradyvercher so today I went to go check the downloads and after downloading the plugin found that there was a bogus I can take a look at the line you mentioned probably get a PR opened for that. The zip file with bad folder in it I'm not sure the best course of action for that. I've notified the plugin author that they need to fix their packaging. Thanks! |
I believe this should be good to go after #182. |
Our SatisPress instance has started having a fatal error due to the Envato integration.
WordPress: 6.0.1
PHP: 7.4
SatisPress Plugin: 1.0.4
Envato Market Plugin: 2.0.7
The text was updated successfully, but these errors were encountered: