Title: Undefined variable
Last modified: April 11, 2024

---

# Undefined variable

 *  Resolved [lyassinel](https://wordpress.org/support/users/lyassinel/)
 * (@lyassinel)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/undefined-variable-99/)
 * Hello
 * i see in my error log php warning about undefined variable
 * PHP Warning: Undefined variable $swcfpc_config in /home/clients/mydomain/wp-content/
   advanced-cache.php on line 21
 * In the folder wp-cloudflare-super-page-cache i can see a folder named [http://www.mydomain.be](http://www.mydomain.be)
   with a main-config.php with the variable inside starting with <?php $swcfpc_config
   ='{\”cf_zoneid\”:\”xxxx…
 * Do you know what is going on ?
 * Best regards
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fundefined-variable-99%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/undefined-variable-99/#post-17679613)
 * Hi,
   You can try deactivating and reactivating the fallback cache to see if the
   issue remains. Hard to say the exact reason behind it. It can be related to the
   request type or if you have some custom setup or if you have any other page caching
   system in place.
 *  Thread Starter [lyassinel](https://wordpress.org/support/users/lyassinel/)
 * (@lyassinel)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/undefined-variable-99/#post-17679930)
 * Hi,
 * Is this option really necessary if I’m already using varnish for server-side 
   caching?
 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/undefined-variable-99/#post-17682018)
 * When you are using CDN-level page caching, especially if you have good traffic
   to your website you really don’t need a server-side caching. If you want you 
   can keep varnish.

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

The topic ‘Undefined variable’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [iSaumya](https://wordpress.org/support/users/isaumya/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/undefined-variable-99/#post-17682018)
 * Status: resolved