• Resolved omusman

    (@omusman)


    Hello:

    When purging cache for this page only create errors in console, it clears the cache but just reporting the error to get fixed:

    Wordpress Version: 5.6
    Plugin Version: 4.3.7.4

    Error:

    View post on imgur.com

    Edit: Also the Please wait, loading screen is taking alot of time when using the purging this page only cache option and as it the screen removed, console has these above image errors.

    • This topic was modified 3 years, 11 months ago by omusman.
    • This topic was modified 3 years, 11 months ago by omusman.
Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Contributor iSaumya

    (@isaumya)

    Hi @omusman,
    Thanks for sharing the screenshot of the console. Unfortunately, Error 524 means server timed out. Which means your server was unable to complete the request. It might be possible that your server is super slow and overcrowded and unable to process that request (as that is the most common reason). But again this is not a plugin problem. Just while writing to you, I’ve tested that feature again on a production site and it works perfectly.

    I will highly recommend you to check this Cloudflare doc link to understand the Error 524 more clearly: https://support.cloudflare.com/hc/en-us/articles/115003011431-Error-524-A-timeout-occurred#524error

    Thread Starter omusman

    (@omusman)

    I tried to Purge whole cache that worked.
    I am on Vultr i have connected Varnish can this cause those errors?

    Plugin Contributor Salvatore Fresta

    (@salvatorefresta)

    Hi @omusman ,
    please click on the purge cache link that causes the timeout error, then copy and paste here the logs from the moment of the click

    Thread Starter omusman

    (@omusman)

    Hello:

    I disabled the varnish and tried it worked, i am on Cloudways

    here are the logs:

    [2020-12-14 11:46:05] [preloader::task] Preloading URL https://example.com/investments/do-a-100-out-of-100-roi-investment/
    [2020-12-14 11:46:06] [varnish::purge_single_url_cache] Error: cURL error 28: Operation timed out after 5000 milliseconds with 0 out of 0 bytes received - Retry using https://
    [2020-12-14 11:46:06] [varnish::purge_single_url_cache] Send purging request to https://127.0.0.1:8080/author/admin/
    [2020-12-14 11:46:06] [varnish::purge_single_url_cache] Response body: <html>
    <head><title>403 Forbidden</title></head>
    <body>
    <center><h1>403 Forbidden</h1></center>
    <hr><center>cloudflare</center>
    </body>
    </html>
    <!-- a padding to disable MSIE and Chrome friendly error page -->
    <!-- a padding to disable MSIE and Chrome friendly error page -->
    <!-- a padding to disable MSIE and Chrome friendly error page -->
    <!-- a padding to disable MSIE and Chrome friendly error page -->
    <!-- a padding to disable MSIE and Chrome friendly error page -->
    <!-- a padding to disable MSIE and Chrome friendly error page -->

    Varnish settings:

    https://i.imgur.com/Ly8dtzy.png

    XMLRPC is Disabled

    • This reply was modified 3 years, 11 months ago by omusman.
    Plugin Contributor Salvatore Fresta

    (@salvatorefresta)

    Ok let me check on Cloudways

    Plugin Contributor Salvatore Fresta

    (@salvatorefresta)

    I confirm the issue with Cloudways. The issue is fixed on upcoming release. Please wait ??

    Thread Starter omusman

    (@omusman)

    Thank you. ??

    Plugin Contributor Salvatore Fresta

    (@salvatorefresta)

    Update to 4.3.8

    Thread Starter omusman

    (@omusman)

    It worked!

    The PHP error log gives this Notice errors it used to throw before the update 4.3.7.4 and after the update.

    Errors:

    plugins/wp-cloudflare-page-cache/libs/cache_controller.class.php on line 1935
    plugins/wp-cloudflare-page-cache/libs/cache_controller.class.php on line 1936
    • This reply was modified 3 years, 11 months ago by omusman.
    Plugin Contributor Salvatore Fresta

    (@salvatorefresta)

    Hi @omusman ,
    can you paste the complete PHP log? I see only file and line number but not the error

    Thread Starter omusman

    (@omusman)

    [Dec 15, 14:15:26] PHP Notice:  Undefined offset: 3 in /home/example.cloudwaysapps.com/example/public_html/wp-content/plugins/wp-cloudflare-page-cache/libs/cache_controller.class.php on line 1975
    [Dec 15, 14:15:26] PHP Notice:  Undefined offset: 3 in /home/example.cloudwaysapps.com/example/public_html/wp-content/plugins/wp-cloudflare-page-cache/libs/cache_controller.class.php on line 1974
    Plugin Contributor Salvatore Fresta

    (@salvatorefresta)

    Hi @omusman ,
    thanks. Into the debug.log of the plugin, you should see a log that starts with:

    [cache_controller::start_cache_preloader_for_specific_urls] Adding these URLs to preloader queue:

    Can you please paste it here?

    Thread Starter omusman

    (@omusman)

    There are array links with:

    `domain.com/?p=19520
    domain.com
    /?p=19520feed/
    domain.com/author/admin/feed/’

    these are the recent array, there are 5 of them like this with different category page and feed pages.

    • This reply was modified 3 years, 11 months ago by omusman.
    Thread Starter omusman

    (@omusman)

    Most of the time i see these PHP notice when i update or publish post. Some post publish right off and some post just keep loading for a while in the admin panel, they are published on front-end but idk what keep them loading. i see no errors on console.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Purge Cache for this page only’ is closed to new replies.