• Resolved dopple32r

    (@dopple32r)


    Hello,

    Hoping someone can help me resolve this issue/s. WP supercache seems to be throwing an error.

    [08-Jul-2023 14:11:17 UTC] Cron unschedule event error for hook: wp_cache_gc, Error code: could_not_set, Error message: The cron event list could not be saved., Data: {“schedule”:false,”args”:[]}

Viewing 5 replies - 1 through 5 (of 5 total)
  • Does that error happen very often? Is your garbage collection running ok, and old files are being deleted?

    I haven’t seen that error happen myself, but it’s probably harmless as it’s related to scheduling the garbage collection.

    Thread Starter dopple32r

    (@dopple32r)

    According to the plugin’s page, it says it isn’t running, I see this message:

    “Warning! Garbage collection is not scheduled!”

    but If i go and look at the section it refers to, it shows “Next scheduled garbage collection will be at 2023-07-10 14:46:25 UTC

    I’ve enabled debug logging and “Email me when the garbage collection runs”.

    • This reply was modified 2 years, 11 months ago by dopple32r.
    Thread Starter dopple32r

    (@dopple32r)

    I have been receiving the emails that say that the garbage collection process completed a few times now. Seems that is functioning.

    The debug log, i’m not sure. Either the log viewer is broken or I don’t know how to use it. I need to go and look at the raw debug log file to see the info. it has lots of lines but i’m not entirely understanding if what I’m looking at is good or bad

    Those emails are triggered by the cron job, so I’d be confident that it’s running. To test it, I’d set the expiry to a really low number, like 60 seconds. Then visit a page and leave it a minute or two and check back again. Look at the Super Cache comments at the end of the page source to see if the file was regenerated at the same time you visited. That would imply the garbage collection was working.

    Plugin Support Alin (a11n)

    (@alinclamba)

    Hey, @dopple32r,

    Given that we haven’t received a response from you in a week, I’m proceeding to designate this thread as ‘Resolved.’ However, should you require any additional assistance, please feel free to reach out to us.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Cron unschedule event error for hook: wp_cache_gc?’ is closed to new replies.