• Resolved perfectword7

    (@perfectword7)


    Howdy!

    We are running the current version of the plugin and current WP on PHP 8.1 on our own VPS.

    We manually trigger a site preload weekly. We regularly have the issue of the preload getting stuck well before finishing—the UI stops updating, it stops sending emails (medium).

    Sometimes it takes two or three times (or more) of cancelling the preload and starting it again before it will do the entire site preload. We’ve tried running it with and without Preload tags option checked, but it’s unclear if that has an effect.

    We have somewhere between 300 and 400 “posts” on the site, but it usually gets stuck pretty early in the preload—anywhere usually before it reaches 100.

    Is there something we should be looking for in our site or server configuration that might be causing this issue? Is there an alternative way to perform the preload? Any advice would be appreciate. Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Stef (a11n)

    (@erania-pinnera)

    Hi there, @perfectword7!

    I asked our developers about that, and we’re still not sure why it would stop. You could enable the debug log in the plugin and try preloading again.?

    The debug entries that will be of interest to you all start with wp_cron_preload_cache:. The last one you should see would be wp_cron_preload_cache: no more posts to get. Limit (X) reached. with the limit reached stated in the message.

    There’s a wp_cron_preload_cache: cancelling preload process. message that is shown when preload is no longer active. That happens when:

    1. someone clicks the stop button.
    2. no tags or categories left to preload (if that’s enabled)
    3. if no posts have been cached when the check is done.

    The active check is done for the first time while categories/tags are being preloaded so condition 2 will make it appear active.
    The cache counter is then incremented when posts are preloaded. You don’t need to know exactly how it works, as narrated above, but it’s just for sharing complete information.

    The debug log may tell you why it’s not working. You could also check the PHP error log to see if any errors are happening. Also, you can use the WP Control plugin to check for any problems with scheduling jobs.?

    Let us know what you find out!

    Plugin Support Stef (a11n)

    (@erania-pinnera)

    Hello @perfectword7,

    Do you have updates about that, do you still need help? We usually close inactive threads after one week of no movement, but we want to make sure we’re all set before marking it as solved. Thanks!

    Thread Starter perfectword7

    (@perfectword7)

    Thanks. This week’s preload only got stuck once. And, of course, I forgot to turn on debugging. So the issue is persisting. I did get debugging turned on for when I restarted the preload. So I have that log.

    I have a related issue as well. My preload also doesn’t cache my home page or the category pages in my WooCommerce store (yes, I have categories selected to preload). After I run a preload I have to visit these pages manually to generate their cached page. Thanks!

    Plugin Support Stef (a11n)

    (@erania-pinnera)

    Hey @perfectword7,

    If you have logs, would you mind sharing them with us? You can contact us via contact form – you should be able to attach the file, otherwise you will be able to do it once we reply to you. When you send the message, please mention this thread and the Woo-related new issue you asked about.

    Thanks a lot for working this out with us!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.