Opened 4 years ago
Closed 4 years ago
#54817 closed defect (bug) (invalid)
wp_actionscheduler_logs - Duplicate entry '0' for key 'PRIMARY'
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | Cron API | Keywords: | |
| Focuses: | Cc: |
Description
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, ActionScheduler_Abstract_QueueRunner->process_action, do_action('action_scheduler_execution_ignored'), WP_Hook->do_action, WP_Hook->apply_filters, ActionScheduler_Logger->log_ignored_action, ActionScheduler_DBLogger->log"
Hello @jasmines and welcome to trac!
Trac is used for the development of WordPress Core, as Action Scheduler is a third party project/plugin for Core no one is able to assist you here.
You can contact the Action Scheduler developers via their GitHub repository.
I've closed this ticket as invalid, which in this case is trac's unfriendly term to indicate that you've been referred to the plugin developers.