[wp-trac] [WordPress Trac] #57271: Cron unschedule / reschedule event errors

WordPress Trac noreply at wordpress.org
Mon Dec 5 08:55:12 UTC 2022


#57271: Cron unschedule / reschedule event errors
----------------------------------------+------------------------------
 Reporter:  domainsupport               |       Owner:  audrasjb
     Type:  defect (bug)                |      Status:  assigned
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  Cron API                    |     Version:  6.0
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+------------------------------

Comment (by domainsupport):

 Thank you so much for taking a look at this.

 Our site was (I say "was" because we've not had a PHP error notice about
 this for a few days now) showing errors for both "reschedule" and
 "unschedule". Other users in the support thread are still receiving
 multiple entries in their log files.

 What you've explained sounds right ... BUT ... surely if events are
 attempting to unschedule when they don't exist and schedule when they do
 exist then this would suggest that the events are somehow running more
 than once (concurrently perhaps?) and have already unscheduled /
 rescheduled themselves?

 If not then what else could cause this behaviour? And surely preventing
 the error for this scenario won't actually be resolving the root of the
 issue?

 Thanks again.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57271#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list