Support » Plugin: WP Cloudflare Super Page Cache » CRITICAL syntax error

  • Resolved Zakir Sajib

    (@zakirstage)


    We see now this error in one log file. As we are using wp super cloudflare cache plugin and I clicked purge whole cache and it may cause the issue:

    2021-06-01T04:51:47+00:00 CRITICAL syntax error, unexpected ''{\"purge_all\":false,\"urls\"' (T_ENCAPSED_AND_WHITESPACE) in /home/427276.cloudwaysapps.com/ntrqmwaffv/public_html/wp-content/wp-cloudflare-super-page-cache/www.shopbylocals.com/purge_cache_queue/cache_queue.php on line 1
    
    2021-06-01T08:17:36+00:00 CRITICAL syntax error, unexpected ''{\"purge_all\":false,\"urls\"' (T_ENCAPSED_AND_WHITESPACE) in /home/427276.cloudwaysapps.com/ntrqmwaffv/public_html/wp-content/wp-cloudflare-super-page-cache/www.shopbylocals.com/purge_cache_queue/cache_queue.php on line 1

    Since then it made our server so slow, getting error connecting to database.

    Cloudways sent us this:
    Please be informed that the server resources are exhausting due to our application is constantly generating URLPURGE requests on the server:

    127.0.0.1 - - [01/Jun/2021:10:35:36 +0000] "URLPURGE /product/big-d-nylon-stald-daekken/?currency=EUR&attribute_pa_stoerrelse=78&attribute_pa_farve=brown-beige&attribute_pa_front=closed HTTP/1.0" 500 2786 "https://localhost/product/big-d-nylon-stald-daekken/?currency=EUR&attribute_pa_stoerrelse=78&attribute_pa_farve=brown-beige&attribute_pa_front=closed" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36"
    127.0.0.1 - - [01/Jun/2021:10:35:37 +0000] "URLPURGE /product/big-d-nylon-stald-daekken/?currency=EUR&attribute_pa_stoerrelse=78&attribute_pa_farve=brown-beige&attribute_pa_front=open HTTP/1.0" 500 2786 "https://localhost/product/big-d-nylon-stald-daekken/?currency=EUR&attribute_pa_stoerrelse=78&attribute_pa_farve=brown-beige&attribute_pa_front=open" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36"
    127.0.0.1 - - [01/Jun/2021:10:34:57 +0000] "URLPURGE /product/big-d-nylon-stald-daekken/?currency=EUR&attribute_pa_stoerrelse=78&attribute_pa_farve=red-black&attribute_pa_front=closed HTTP/1.0" 500 2863 "https://localhost/product/big-d-nylon-stald-daekken/?currency=EUR&attribute_pa_stoerrelse=78&attribute_pa_farve=red-black&attribute_pa_front=closed" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36"
    127.0.0.1 - - [01/Jun/2021:10:34:52 +0000] "URLPURGE /product/big-d-nylon-stald-daekken/?currency=EUR&attribute_pa_stoerrelse=78&attribute_pa_farve=black-silver&attribute_pa_front=open HTTP/1.0" 500 5467 "https://localhost/product/big-d-nylon-stald-daekken/?currency=EUR&attribute_pa_stoerrelse=78&attribute_pa_farve=black-silver&attribute_pa_front=open" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36"
    127.0.0.1 - - [01/Jun/2021:10:34:47 +0000] "URLPURGE /product/big-d-nylon-stald-daekken/?currency=EUR&attribute_pa_stoerrelse=78&attribute_pa_farve=black-silver&attribute_pa_front=closed HTTP/1.0" 500 5467 "https://localhost/product/big-d-nylon-stald-daekken/?currency=EUR&attribute_pa_stoerrelse=78&attribute_pa_farve=black-silver&attribute_pa_front=closed" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36"

    We also using Breeze caching plugin from cloudways.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Zakir Sajib

    (@zakirstage)

    I think this is happened due to breeze caching plugin.

    And yet your plugin does not support breeze and cloudways team says we should keep only 1 caching plugin so I decided to delete the breeze plugin.

    Plugin Contributor Saumya Majumder

    (@isaumya)

    There is no way for this plugin to work with breeze as both are page caching plugin and yes you should always keep only one page caching plugin.

    Thread Starter Zakir Sajib

    (@zakirstage)

    Agreed.

    Do you have any tutorial for autoptimse plugin with your plugin? Which setting should I enable or disable to run smoothly.

    Plugin Contributor Saumya Majumder

    (@isaumya)

    Under the third party tab of the plugin settings, you will find a toggle for Autoptimize to clear the CF cache if AO clear it’s cache.

    Thread Starter Zakir Sajib

    (@zakirstage)

    Yes I know. Thanks

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