Skip to content

Error code: could_not_set, Error message: The cron event list could not be saved #236

@Arlingtoner

Description

@Arlingtoner

Things are generally going well, but every once in a while, I notice that one of my database tables has stopped being updated. That is because a Cron Event that does the updating has disappeared and I find an error message like the following in the WordPress debug.log:

[12-Nov-2025 19:20:15 UTC] Cron reschedule event error for hook: vhc_SitePowerDaily_hook, Error code: could_not_set, Error message: The cron event list could not be saved., Data: {"schedule":"every-15-minutes","args":[],"interval":900}

If I click on Add New Cron Event and re-add the event, its Cron Events entry looks something like:

vhc_SitePowerDaily_hook                                    in 6 minutes                       Every 15 minutes          vhc_update_site_power_table()
Edit | Run now | Pause this hook | Delete            Today at 2:05 pm

and everything is fine until the next time (days or days and days later).

What is going on? What can I do to prevent the error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions