Support » Plugin: WP Cloudflare Super Page Cache » cache_controller.class.php

  • Resolved frontiers

    (@frontiers)


    PHP Warning: /wp-cloudflare-page-cache/libs/cache_controller.class.php on line 2615
    [28-Sep-2021 00:10:03 UTC]
    PHP Warning: Undefined array key 1 in /wp-content/plugins/wp-cloudflare-page-cache/libs/cache_controller.class.php on line 2616

    Can tell me more about this?

    I use PHP8.0 + WP 5.8.1 nginx / cloudflare.

    • This topic was modified 2 months ago by frontiers.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter frontiers

    (@frontiers)

    [28-Sep-2021 20:06:31 UTC] PHP Warning: Undefined array key 1 in /wp-content/plugins/wp-cloudflare-page-cache/libs/cache_controller.class.php on line 2615
    [28-Sep-2021 20:06:31 UTC] PHP Warning: Undefined array key 1 in /wp-content/plugins/wp-cloudflare-page-cache/libs/cache_controller.class.php on line 2616
    [28-Sep-2021 20:06:31 UTC] PHP Warning: Undefined array key 2 in /wp-content/plugins/wp-cloudflare-page-cache/libs/cache_controller.class.php on line 2615
    [28-Sep-2021 20:06:31 UTC] PHP Warning: Undefined array key 2 in /wp-content/plugins/wp-cloudflare-page-cache/libs/cache_controller.class.php on line 2616

    Thread Starter frontiers

    (@frontiers)

    I got the idea its not working well with nginx?

    the plugin also try to access my htaccess rules. And nginx don’t use htaccess.

    Thread Starter frontiers

    (@frontiers)

    I decided not to go further with my site.

    T=

    Plugin Contributor Saumya Majumder

    (@isaumya)

    Hi,
    I am personally using the plugin on an nginx server with WP v5.8.1 without any issue. The plugin works perfectly with nginx server. When you are using an nginx server as it does not uses htaccess file the plugin shows you the list of nginx rules that you need to add to your nginx.conf file. You need to add them manually in your nginx.conf file.

    Now coming to the PHP warning, first of all it’s just a warning and not an error. That being said, it seems like the warning is coming from the preloader component. But after looking at the code, I don’t see why that should be. Can you try disabling the preloader option in the plugin settings and see if you are still getting the warnings?

    Thread Starter frontiers

    (@frontiers)

    Yes im aware of Nginx not using any htaccess.

    Very sure that plugin did not show any Nginx rules. It showed only htaccess rules that wanted to add. Thats why made comment when asking is it competible with nginx since was showing only Htacces.

    I did remove plugin becouse it was also conflciting with other SEO plugin.

    I’m closing this matter. Sorry I forgot set it as solved.

    Plugin Contributor Saumya Majumder

    (@isaumya)

    Very sure that plugin did not show any Nginx rules. It showed only htaccess rules that wanted to add. Thats why made comment when asking is it competible with nginx since was showing only Htacces.

    – Take a look: https://i.imgur.com/lp0mrse.png
    https://i.imgur.com/6bHdYKD.png
    https://i.imgur.com/ELiIqS4.png

    If you click on any of those hyperlinks it will take you to the page where it will show you the nginx rules that needs to be added. Also the plugin creates a nginx.conf file inside the /wp-content/wp-cloudflare-super-page-cache/<your-domain>/ folder. You can either copy the rules from there to paste in your main nginx.conf file or you can just point to that file in your main nginx.conf file.

    it was also conflciting with other SEO plugin.

    – Sorry but without more clarification it was impossible to understand what conficts you are talking about. This plugin has been thoroughly tested with many popular SEO plugins like Yoast, Rankmath etc and there is no compatibility issue.

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