• We are getting a cron event error being reported every 10 seconds that is cluttering up our PHP Error Log on the Dashboard. We can’t delete or edit this cron event using WP Crontol or WP Cron Manager because we just keep getting messages saying the event doesn’t exist or can’t be found. However, the event is certainly running! We’ve tried Ignoring it but it still keeps coming back. The author of WP Crontol tells me there is a problem deleting cron events that are high frequency and he can’t help. Is there any way to stop it appearing in the PHP Error Log altogether? Apparently it is linked to the plugin Members. The Members plugin author tells me this notification is not needed and can be removed. Hope you can help. Thanks. Robert.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Janis Elsts

    (@whiteshadow)

    If an error keeps reappearing after being ignored, that probably means there’s some part of the error message that keeps changing. The “ignore” option only works on errors that are always exactly the same.

    In this case, you could try using the “Ignored regular expressions” setting. It’s in the widget configuration, near the bottom. Find the unchanging part of the error message and add it to that box.

    Thread Starter Robert

    (@rsterry48)

    Thanks very much for your reply. However, all the notifications look exactly the same to me. Here’s a sample:

    Dec 08, 02:56:40
    Cron unschedule event error for hook: members_admin_notifications_update, Error code: could_not_set, Error message: The cron event list could not be saved., Data: {“schedule”:false,”args”:[]}

    Dec 08, 03:02:11
    Cron unschedule event error for hook: members_admin_notifications_update, Error code: could_not_set, Error message: The cron event list could not be saved., Data: {“schedule”:false,”args”:[]}

    Dec 08, 03:26:51
    Cron unschedule event error for hook: members_admin_notifications_update, Error code: could_not_set, Error message: The cron event list could not be saved., Data: {“schedule”:false,”args”:[]}

    Dec 08, 05:06:08
    Cron unschedule event error for hook: members_admin_notifications_update, Error code: could_not_set, Error message: The cron event list could not be saved., Data: {“schedule”:false,”args”:[]}

    Dec 08, 05:09:42
    Cron unschedule event error for hook: members_admin_notifications_update, Error code: could_not_set, Error message: The cron event list could not be saved., Data: {“schedule”:false,”args”:[]}

    Dec 08, 06:26:40
    Cron unschedule event error for hook: members_admin_notifications_update, Error code: could_not_set, Error message: The cron event list could not be saved., Data: {“schedule”:false,”args”:[]}

    Dec 08, 09:39:40
    Cron unschedule event error for hook: members_admin_notifications_update, Error code: could_not_set, Error message: The cron event list could not be saved., Data: {“schedule”:false,”args”:[]}`

    Plugin Author Janis Elsts

    (@whiteshadow)

    Those do look the same. Regardless, I would still recommend trying the “Ignored regular expressions” setting: it’s a separate filter, and it might work even if the “Ignore” feature is not filtering out the errors for some reason.

    It looks like members_admin_notifications_update could be a sufficiently unique string to use with this filter.

    Thread Starter Robert

    (@rsterry48)

    Thanks Janis. Will give that a go.
    Robert

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘how to block unwanted notification’ is closed to new replies.