-
Notifications
You must be signed in to change notification settings - Fork 11
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
Issue with EDD_SL_Plugin_Updater? #18
Comments
Have you checked to see whether this is an issue with GitHub Updater? I haven’t seen it. |
@afragen No, and I haven't seen this one before either. |
For this issue, the request itself is happening successfully... but for some reason the transient is getting wiped... |
Hey @afragen - I'm the one who reported this to @mgibbs189 ... thanks for jumping in. :) I have integrated GitHub Updater Lite into my plugin, and have it installed on four sites. Each of them is having issues with the update notifications. On a dev site I set up, I found that if I deactivate WP Recipe Maker Premium (which uses the EDD updater), the notification will show up on my plugin immediately. If I reactivate WPRM, the notification will disappear after a few minutes (and a few page refreshes). I have the plugin installed on a few other (live) sites, which also have other premium plugins installed. On those sites, when I deactivated WPRM Premium, the update didn't show up... but since they're live sites I didn't deactivate the other premium plugins. My hunch is that the update check is working correctly, but when the page is returned the update notification itself is being filtered out, so it doesn't actually display. I'm happy to give you access to my dev site if you'd like to poke around on it. Thanks! |
@blogtutor can you ensure that the most recent EDD_SL_Plugin _Updater is being used. Easier to debug locally. Have you tried using GitHub Updater by adding the additional header to you plugin and see if it has an issue. It would be easier to know if the issue is on both plugins/frameworks or just one. |
I think @afragen is referring to these steps to test the "main" GHU plugin:
to
|
FYI, I’ve added an activation hook to correctly rename the plugin. Got tired of the issue, though after initial activation you’ll see a notice that the plugin doesn’t exist as it was successfully renamed. |
But otherwise, what Matt said. 😉 |
Just installed the full Github Updater plugin, following Matt's instructions -- and the update notification showed up! WP Recipe Maker Premium is still active... As for getting the latest version of the EDD updater script... I'm not sure where to find that? I just pulled the PHP file (which Matt attached in the issue above) directly from the WPRM plugin files. |
Can you send me copies of the plugins in question? I can try to replicate locally. |
Sure, will email you in just a moment. Thanks! |
@mgibbs189 how do you load I know the instructions say to include it before add_action( ‘init’, function() {
include_once( .... );
); |
@afragen Matt already had me give that a try... didn't help. This is what I had added:
|
@mgibbs189 @blogtutor github-updater-lite/github-updater.php Lines 110 to 112 in 98a23c1
I actually don't think there's any need for this check and removing it seems to ensure that |
@afragen I just commented out those three lines on my dev site, clicked over to the updates page and sure enough it immediately showed an update available for my plugin! (WP Recipe Maker was still active.) So unless @mgibbs189 has a reason to keep those in there, it seems like you've found the solution! :) |
@afragen Oh wow, awesome job with troubleshooting! And thanks for confirming @blogtutor 😄 |
@afragen @mgibbs189 HUGE thanks to you both! I've been stuck on this for over a month... so excited I can finally move forward. Have a great weekend! 😃 |
Update notifications do not appear when certain
EDD_SL_Plugin_Updater
-based plugins (such as WP Recipe Maker Premium) are active.EDD_SL_Plugin Updater.php
The text was updated successfully, but these errors were encountered: