PB-2703: Scheduled job has nothing attached to it
Paul Bunyan code PB-2703 (Warning): Scheduled job has nothing attached to it. What it means and what to do.
On this page
What it means
A job is on the schedule but no code responds to its hook, so it does nothing each time it comes due.
What to do
Usually left behind by a plugin that was removed. Delete the schedule entry.
Common causes
- A plugin was removed without clearing its scheduled jobs.
- A plugin is deactivated, so the code behind the job isn't loaded.
- A typo or renamed hook in custom code.
How to find and fix it
- The message names the hook. Search for it among your plugins: if no active plugin uses it, it is a leftover.
- Delete the schedule entry with WP-CLI (
wp cron event delete <hook>) or a cron management plugin. - If the plugin is only deactivated and you plan to use it again, leave it; it will run when the plugin is back.
Details
| Code | Severity | Group |
|---|---|---|
| PB-2703 | Warning | Background |
