[wp-trac] [WordPress Trac] #33423: Arguments switched in wp_batch_split_terms Cron Job in 4.3

WordPress Trac noreply at wordpress.org
Fri Aug 21 19:06:15 UTC 2015


#33423: Arguments switched in wp_batch_split_terms Cron Job in 4.3
--------------------------+-----------------------
 Reporter:  mechter       |       Owner:  dd32
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  4.3.1
Component:  Taxonomy      |     Version:  4.3
 Severity:  normal        |  Resolution:
 Keywords:  fixed-major   |     Focuses:
--------------------------+-----------------------
Changes (by Kent Brockman):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Replying to [comment:8 dd32]:
 > Just to note it here, as mentioned above and in #33463, there appears to
 be a rare case which is much worse than what I initially encountered here.
 >
 > If term splitting hasn't completed on a site, and the cron isn't queued
 up by the Database upgrade OR the cron fails to work correctly, it gets
 stuck into a state where it adds an extra cronjob (which will never run)
 to the database, causing the option to fill up.
 >
 > This is likely to affect few people, as the cron will do it's job for
 vast majority of cases from what I can tell..

 Hello, I can confirm 12 websites with this exact same problem. All in
 different servers, with different Apache, PHP, MySQL version combinations.
 But all of them working on WP 4.3. This fix
 (https://core.trac.wordpress.org/changeset/33646/trunk/src/wp-
 includes/taxonomy.php) solves the problem for me. The main problem is how
 to massively delete all of the currently useless entries this bug created.
 You can see a screen capture in this forum thread:
 https://wordpress.org/support/topic/how-can-i-massively-delete-cron-tasks-
 from-outside-wp?replies=2#post-7330175

 Sorry for bugging you, but this bug turned my day in a mayhem, because
 sites with high traffic have the cron list flooded with thousands of
 entries. One of my sites had 12k cron tasks created by this bug. How to
 cleanup all that mess? be my guest :)

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


More information about the wp-trac mailing list