• Hello,

    I am having a plugin update issue on a few sites.

    Suppose there are 10 plugins that show updates available. If
    I click on that, it shows me the 10 available updates.

    If I select 2 (for example) and select update, the first one
    updates but the second one fails saying it is already at the
    current version.

    If I click available updates again, it shows none that need
    updating.


    If I run the wp_update_plugins cron job, 9 available plugins
    show up. If I update 1, the other 8 disappear unless I run
    the cron job again.

    So I have to them one by one and run the cron job every
    time.

    I have tried disabling all the plugins. No difference.

    Both sites are at WP version 6.2 and running PHP version
    7.4.33

    I have 6 other WP sites on the same host and they are fine.

    Not sure if this helps but I see this in the error log
    [13-Apr-2023 16:07:11 UTC] Cron reschedule event error for
    hook: action_scheduler_run_queue, Error code: could_not_set,
    Error message: The cron event list could not be saved.,
    Data: {“schedule”:”every_minute”,”args”:[“WP
    Cron”],”interval”:60}

    Any suggestions would be greatly appreciated!

    Thanks and cheers,

    Gil

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    I think an event every minute is too frequent for the way wp_cron works. I think the calls are essentially “stepping” on each other and interfering with other processes. Either the interval should be extended, or the task off loaded to server cron which is better equipped to handle frequent tasks.

Viewing 1 replies (of 1 total)
  • The topic ‘Plugin Update Issues’ is closed to new replies.