Title: critical error using customizer with cache enabled
Last modified: March 4, 2022

---

# critical error using customizer with cache enabled

 *  Resolved [Natascha Vantuykom](https://wordpress.org/support/users/vantuykomn/)
 * (@vantuykomn)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/critical-error-using-customizer-with-cache-enabled/)
 * Hi,
    I get a critical page error when cache is enabled and I want to access wp
   customizer. Also, the cached pages are showing when I am logged in. I allready
   unchecked the ‘serve cached pages to logged in users’ checkbox

Viewing 1 replies (of 1 total)

 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/critical-error-using-customizer-with-cache-enabled/#post-15426744)
 * [@vantuykomn](https://wordpress.org/support/users/vantuykomn/) Can you please
   enable debugging mode, Please add following lines to wp-config.php just before
   where it says: /* That’s all, stop editing! Happy publishing. */
 *     ```
       define( 'WP_DEBUG', true );
       define( 'WP_DEBUG_DISPLAY', false );
       define( 'WP_DEBUG_LOG', true );
       ```
   
 * Then try to access the custommizer.
 * A debug.log file should be created inside wp-content folder,which should contain
   error information in it, Please share the file with us.

Viewing 1 replies (of 1 total)

The topic ‘critical error using customizer with cache enabled’ is closed to new 
replies.

 * ![](https://ps.w.org/wp-optimize/assets/icon-256x256.png?rev=1552899)
 * [WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance](https://wordpress.org/plugins/wp-optimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-optimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-optimize/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-optimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-optimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-optimize/reviews/)

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)

 * 1 reply
 * 2 participants
 * Last reply from: [Harshad](https://wordpress.org/support/users/bornforphp/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/critical-error-using-customizer-with-cache-enabled/#post-15426744)
 * Status: resolved