[wp-trac] [WordPress Trac] #57271: Cron unschedule / reschedule event errors
WordPress Trac
noreply at wordpress.org
Sat Feb 17 06:15:35 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: has-patch needs-unit-tests | Focuses:
----------------------------------------+------------------------------
Comment (by emilycestmoi):
Just as I posted the above I checked my logs again and found another
instance of "Cron reschedule event error". When I checking my debug
logging I found that this time it occurred for an entirely different
reason--the $wpdb->update() command failing in option.php:
From option.php:
{{{
$result = $wpdb->update( $wpdb->options, $update_args, array(
'option_name' => $option ) );
if ( ! $result ) {
// XXX-THIS IS RETURNING FALSE
return false;
}
}}}
This would mean that the issue is likely more complex than was initially
described in [#comment:1] and would not be resolved by the pull I linked
above. I suspect there is a single issue causing both of these errors
(feels like a race condition), but I will need to open $wpdb and see why
the update is failing.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57271#comment:50>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list