Title: cache_controller.class.php
Last modified: September 28, 2021

---

# cache_controller.class.php

 *  Resolved [Edwin Bekedam](https://wordpress.org/support/users/frontiers/)
 * (@frontiers)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/cache_controller-class-php/)
 * 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 4 years, 8 months ago by [Edwin Bekedam](https://wordpress.org/support/users/frontiers/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcache_controller-class-php%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [Edwin Bekedam](https://wordpress.org/support/users/frontiers/)
 * (@frontiers)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/cache_controller-class-php/#post-14918215)
 * [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 [Edwin Bekedam](https://wordpress.org/support/users/frontiers/)
 * (@frontiers)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/cache_controller-class-php/#post-14922287)
 * 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 [Edwin Bekedam](https://wordpress.org/support/users/frontiers/)
 * (@frontiers)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/cache_controller-class-php/#post-14922843)
 * I decided not to go further with my site.
 * T=
 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/cache_controller-class-php/#post-14927350)
 * 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 [Edwin Bekedam](https://wordpress.org/support/users/frontiers/)
 * (@frontiers)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/cache_controller-class-php/#post-14927894)
 * 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 [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/cache_controller-class-php/#post-14927941)
 * > 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/lp0mrse.png)
 * > [View post on imgur.com](https://imgur.com/6bHdYKD)
 * > [View post on imgur.com](https://imgur.com/ELiIqS4)
 * 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)

The topic ‘cache_controller.class.php’ is closed to new replies.

 * ![](https://ps.w.org/wp-cloudflare-page-cache/assets/icon-256x256.gif?rev=3234997)
 * [Super Page Cache – Cloudflare Cache, Page Speed & Core Web Vitals](https://wordpress.org/plugins/wp-cloudflare-page-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-cloudflare-page-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [iSaumya](https://wordpress.org/support/users/isaumya/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/cache_controller-class-php/#post-14927941)
 * Status: resolved