Title: Problem with advanced-cache.php
Last modified: July 21, 2020

---

# Problem with advanced-cache.php

 *  Resolved [kallym](https://wordpress.org/support/users/kallym/)
 * (@kallym)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/problem-with-advanced-cache-php/)
 * Hi, I am getting the following error (at the bottom of my post) on my staging
   site in my PHP error log. It is happening continuously. I found a support thread
   about checking wp-config.php and found the following:
 *     ```
       define( 'WP_CACHE', false ) ; 
       // false Changed by WP-Staging
       ```
   
 * So, I changed it back to false. I am on a Litespeed server, but have disabled
   the Litespeed cache plugin on the staging site. Was this the correct thing to
   do?
    Thank you!
 *     ```
       Warning: include(/home/mysite/public_html/staging/wp-content/advanced-cache.php): failed to open stream: No such file or directory in /home/mysite/public_html/staging/wp-settings.php on line 95
       Warning: include(): Failed opening '/home/mysite/public_html/staging/wp-content/advanced-cache.php' for inclusion (include_path='.:/opt/cpanel/ea-php73/root/usr/share/pear') in /home/mysite/public_html/staging/wp-settings.php on line 95
       ```
   

Viewing 1 replies (of 1 total)

 *  Plugin Author [Rene Hermenau](https://wordpress.org/support/users/renehermi/)
 * (@renehermi)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/problem-with-advanced-cache-php/#post-13149317)
 * Hi [@kallym](https://wordpress.org/support/users/kallym/)
    it seems the file 
   advanced-cache.php is not available in the staging site. Maybe it was not copied
   over there or deleted afterward by you?
 * So, yes disabling the cache is a viable solution then to get rid of that warning.
 * Please let me know if you have any other questions or need more information.

Viewing 1 replies (of 1 total)

The topic ‘Problem with advanced-cache.php’ is closed to new replies.

 * ![](https://ps.w.org/wp-staging/assets/icon-256x256.png?rev=2972932)
 * [WP STAGING - WordPress Backup, Restore & Migration](https://wordpress.org/plugins/wp-staging/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-staging/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-staging/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-staging/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-staging/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-staging/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Rene Hermenau](https://wordpress.org/support/users/renehermi/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/problem-with-advanced-cache-php/#post-13149317)
 * Status: resolved