[wp-trac] [WordPress Trac] #54817: wp_actionscheduler_logs - Duplicate entry '0' for key 'PRIMARY'

WordPress Trac noreply at wordpress.org
Fri Jan 14 08:26:04 UTC 2022

#54817: wp_actionscheduler_logs - Duplicate entry '0' for key 'PRIMARY'
 Reporter:  jasmines      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Cron API      |    Version:  5.8.3
 Severity:  blocker       |   Keywords:
  Focuses:                |
 Since 5.8.3 (PHP 7.4) I have thousands of these errors:

 NOTICE: PHP message: WordPress errore sul database Duplicate entry '0' for
 key 'PRIMARY' per la query INSERT INTO `wp_actionscheduler_logs`
 (`action_id`, `message`, `log_date_gmt`, `log_date_local`) VALUES (55421,
 'azione ignorata via WP Cron', '2022-01-14 08:17:44', '2022-01-14
 09:17:44') fatta da do_action_ref_array('action_scheduler_run_queue'),
 WP_Hook->do_action, WP_Hook->apply_filters,
 ActionScheduler_QueueRunner->run, ActionScheduler_QueueRunner->do_batch,
 do_action('action_scheduler_execution_ignored'), WP_Hook->do_action,
 WP_Hook->apply_filters, ActionScheduler_Logger->log_ignored_action,

Ticket URL: <https://core.trac.wordpress.org/ticket/54817>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list