WordPress.org

Support

Support » Plugins and Hacks » WP Updates Notifier » [Resolved] [Plugin: WP Updates Notifier] Not sending notifications

[Resolved] [Plugin: WP Updates Notifier] Not sending notifications

  • Hello,

    I’m using version 1.3.1 of Wp Updates Notifier and it’s unfortunately not sending out the e-mails. The test e-mails are sent without an issue.

    After reviewing the forums, I tried installing the cron view plugin to see if it’s listed to run and if so when. I have the plugin configured to check for theme and plugin updates hourly. The cron view provides the below information:

    Jul 27, 2012 @ 17:13 (1343409207) Twice Daily wp_version_check
    Jul 27, 2012 @ 17:13 (1343409207) Twice Daily wp_update_plugins
    Jul 27, 2012 @ 17:13 (1343409207) Twice Daily wp_update_themes
    Jul 27, 2012 @ 18:39 (1343414385) Once Hourly sc_wpun_update_check

    Shouldn’t all four of these settings display “Hourly”? ‘sc_wpun_update_check’ is the only hook which changes when I change the scheduled time.

    Thanks!

    http://wordpress.org/extend/plugins/wp-updates-notifier/

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Scott Cariss

    @l3rady

    No.

    The three other checks are WordPress internal checks and are set to Twice Daily by default.

    sc_wpun_update_check is also set correctly. I cannot see anything at error here.

    I’ve got the same issue. Using v1.3.1, test emails work fine, but I’m not receiving update emails.

    Cron appears to be fine (from Cron View plugin):

    Oct 8, 2012 @ 2:19 (1349662787) Twice Daily sc_wpun_update_check

    Seem to have this error in WordPress log every time plugin runs:

    [08-Oct-2012 01:18:18 UTC] PHP Notice: Trying to get property of non-object in /…/wp-content/plugins/wp-updates-notifier/wp-updates-notifier.php on line 204

    sc_wpun_settings key (email addresses masked):

    a:7:{s:9:”frequency”;s:10:”twicedaily”;s:9:”notify_to”;s:28:”web@…”;s:11:”notify_from”;s:28:”web@…”;s:14:”notify_plugins”;i:1;s:13:”notify_themes”;i:1;s:12:”hide_updates”;i:1;s:8:”notified”;a:3:{s:4:”core”;s:0:””;s:6:”plugin”;a:0:{}s:5:”theme”;a:0:{}}}

    same problem on my side. no update emails

    Gabe Shackle

    @hereswhatidid

    No email notifications for me either. Test message works fine.

    @scott Cariss
    Same issue here! No daily updates are sent. (Using this on 20 sites, same issue on all of them).

    @scott Cariss

    …Forgot to mention (sorry)… Test messages do not work either.
    Did a scan of error_log and found the following entry (several times):

    PHP Fatal error: Using $this when not in object context in /home/r5thyr8d/public_html/wp-content/plugins/wp-updates-notifier/wp-updates-notifier.php on line 175

    Version of plugin used: 1.3.1
    Version of WP used: 3.4.2

    @scott Cariss

    Update: Turning on Apache suEXEC fixes this issue.

    So… Anyone else reading this… Please try SSH into your server and enabling suEXEC in config and restart Apache.

    I was also able to fix it by modifying a few areas in the code that were specifically related to the $wp_version global being used without being declared as a global. The functions I had to update were:

    –core_update_check
    –plugins_update_check (also changed a reference to wp_cur_version to wp_version here)

    Also, I added in another option to enable repeated emails in case one of them fails. Otherwise it will flag that notification as being sent and you’ll never get another update email until you go in and upgrade the out of date item. I can’t find any contact information for the author otherwise I would just send the new version over to them for their review.

    Plugin Author Scott Cariss

    @l3rady

    @hereswhatidid thanks reporting the glaring mistakes in my code with the missing variables.

    I don’t know how I missed them in a past versions. I blame my IDE because this time round the mistakes where highlighted in bright red whereas before they were not.

    As for the additional option you have added. Can you please explain some more as I’m not sure I fully understand.

    Anyway new version of WPUN has been pushed to WP Org repository.

    Scott

    Awesome! Basically the new option was so that it will continually send notification emails at each interval. The problem I ran into was that it was silently failing at the point just before sending the email so the notification was getting flagged as “notified” and then never attempting to send it again. For me, personally, it’s useful to be able to set plugin up so that it will just keep notifying me until I’m shamed into updating the plugin/theme/core that’s out of date. But, for some people they may only want that first notification so I kept it as an option.

    Plugin Author Scott Cariss

    @l3rady

    Ok I get you.

    So basically if you are set to an hourly cron you will get notified every hour until the update is complete.

    Yes this would have to be a setting that can be turned on and is off by default.

    Exactly, and I agree it should be off by default.

    Plugin Author Scott Cariss

    @l3rady

    If you look at the copyright information in a PHP file of my plugin it should have my email. You can email me over the code you’ve done and I’d be happy to add it to this plugin.

    Scott

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘[Resolved] [Plugin: WP Updates Notifier] Not sending notifications’ is closed to new replies.
Skip to toolbar