[wp-trac] [WordPress Trac] #57271: Cron unschedule / reschedule event errors
WordPress Trac
noreply at wordpress.org
Thu May 2 03:49:49 UTC 2024
#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: needs-unit-tests needs-patch | Focuses:
------------------------------------------+------------------------------
Comment (by emilycestmoi):
@galbaras-- I spent a number of hours debugging the issue from my sites 2
months ago. For me it was easy to reproduce the warning as it was
happening numerous times per day, consistently. I inserted debug
statements into the wordpress db code which led me to find out the issue
was the cron db update was being triggered with identical contents that
were already present in the db. Because an update with identical contents
causes mysqli_affected_rows() == 0 (what wordpress checks for) an error is
triggered which trickles back up.
If there is interest I can create a patch that others can apply to their
wordpress installs to log whether the issue is the same as the one I am
seeing.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57271#comment:70>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list