Title: W3C 500 Error when clearing cache
Last modified: October 22, 2019

---

# W3C 500 Error when clearing cache

 *  Resolved [georgeoffley](https://wordpress.org/support/users/georgeoffley/)
 * (@georgeoffley)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/w3c-500-error-when-clearing-cache/)
 * I am having an issue whenever I empty all the caches using this plugin. I get
   a 500 error and the site stops loading. To get around this I have to hit the 
   back button a few times to get back to my dashboard. Additionally, it does not
   seem to empty the cache when I do this.

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

 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/w3c-500-error-when-clearing-cache/#post-12054818)
 * Hello [@georgeoffley](https://wordpress.org/support/users/georgeoffley/)
 * I am sorry about the issue you are experiencing and I am happy to assist you 
   with this.
    When did this issue start to occur? Have you made any changes or 
   installed any additional Plugins or the issue is there since you installed W3
   Total Cache?
 *  Thread Starter [georgeoffley](https://wordpress.org/support/users/georgeoffley/)
 * (@georgeoffley)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/w3c-500-error-when-clearing-cache/#post-12054906)
 * It’s been happening for quite some time. I’ve probably installed a dozen since
   installing the plugin. I’d also like to point out that the plugin also throws
   a 500 error when going to uninstall it. So I’ve not currently tried that.
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/w3c-500-error-when-clearing-cache/#post-12056791)
 * Hello [@georgeoffley](https://wordpress.org/support/users/georgeoffley/)
 * Thank you for the info. Can you please check (share) your .htaccess file just
   to see if the rules are in the correct order?
 *  Thread Starter [georgeoffley](https://wordpress.org/support/users/georgeoffley/)
 * (@georgeoffley)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/w3c-500-error-when-clearing-cache/#post-12057593)
 * We are using IIS to host our site and there is no .htaccess file, unfortunately.
   Are there specific issues with using the w3c plugin with an IIS hosted site?
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/w3c-500-error-when-clearing-cache/#post-12058110)
 * Hello [@georgeoffley](https://wordpress.org/support/users/georgeoffley/)
 * Can you please enable WP_DEBUG and share your error.log file so we can check 
   for any errors after you empty all caches?
 *  Thread Starter [georgeoffley](https://wordpress.org/support/users/georgeoffley/)
 * (@georgeoffley)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/w3c-500-error-when-clearing-cache/#post-12058433)
 * Yes. Below is what I am seeing after turning on logging and then trying to empty
   the cache and trying to uninstall the plugin:
 *     ```
       [23-Oct-2019 15:43:39 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:43:39 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:43:39 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:43:39 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:43:45 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:43:45 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:43:45 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:43:45 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:43:45 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:43:45 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:43:45 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:43:45 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:43:51 UTC] PHP Fatal error:  Uncaught exception 'W3TC\Util_Environment_Exceptions' in C:\inetpub\wwwroot\CPNASandbox\wp-content\plugins\w3-total-cache\Root_Environment.php:83
       Stack trace:
       #0 C:\inetpub\wwwroot\CPNASandbox\wp-content\plugins\w3-total-cache\Util_Activation.php(203): W3TC\Root_Environment->fix_after_deactivation()
       #1 C:\inetpub\wwwroot\CPNASandbox\wp-content\plugins\w3-total-cache\Generic_Plugin_Admin.php(214): W3TC\Util_Activation::deactivate_plugin()
       #2 [internal function]: W3TC\Generic_Plugin_Admin->admin_init('')
       #3 C:\inetpub\wwwroot\CPNASandbox\wp-includes\plugin.php(525): call_user_func_array(Array, Array)
       #4 C:\inetpub\wwwroot\CPNASandbox\wp-admin\admin.php(168): do_action('admin_init')
       #5 C:\inetpub\wwwroot\CPNASandbox\wp-admin\plugins.php(10): require_once('C:\\inetpub\\wwwr...')
       #6 {main}
         thrown in C:\inetpub\wwwroot\CPNASandbox\wp-content\plugins\w3-total-cache\Root_Environment.php on line 83
       [23-Oct-2019 15:43:53 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:43:53 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:43:53 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:43:53 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:43:56 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:43:56 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:43:56 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:43:56 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:43:56 UTC] PHP Fatal error:  Uncaught exception 'W3TC\Util_Environment_Exceptions' in C:\inetpub\wwwroot\CPNASandbox\wp-content\plugins\w3-total-cache\Root_Environment.php:83
       Stack trace:
       #0 C:\inetpub\wwwroot\CPNASandbox\wp-content\plugins\w3-total-cache\Util_Activation.php(203): W3TC\Root_Environment->fix_after_deactivation()
       #1 C:\inetpub\wwwroot\CPNASandbox\wp-content\plugins\w3-total-cache\Generic_Plugin_Admin.php(214): W3TC\Util_Activation::deactivate_plugin()
       #2 [internal function]: W3TC\Generic_Plugin_Admin->admin_init('')
       #3 C:\inetpub\wwwroot\CPNASandbox\wp-includes\plugin.php(525): call_user_func_array(Array, Array)
       #4 C:\inetpub\wwwroot\CPNASandbox\wp-admin\admin.php(168): do_action('admin_init')
       #5 C:\inetpub\wwwroot\CPNASandbox\wp-admin\plugins.php(10): require_once('C:\\inetpub\\wwwr...')
       #6 {main}
         thrown in C:\inetpub\wwwroot\CPNASandbox\wp-content\plugins\w3-total-cache\Root_Environment.php on line 83
       [23-Oct-2019 15:43:58 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:43:58 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:43:59 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:43:59 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:43:59 UTC] PHP Fatal error:  Uncaught exception 'W3TC\Util_Environment_Exceptions' in C:\inetpub\wwwroot\CPNASandbox\wp-content\plugins\w3-total-cache\Root_Environment.php:83
       Stack trace:
       #0 C:\inetpub\wwwroot\CPNASandbox\wp-content\plugins\w3-total-cache\Util_Activation.php(203): W3TC\Root_Environment->fix_after_deactivation()
       #1 C:\inetpub\wwwroot\CPNASandbox\wp-content\plugins\w3-total-cache\Generic_Plugin_Admin.php(214): W3TC\Util_Activation::deactivate_plugin()
       #2 [internal function]: W3TC\Generic_Plugin_Admin->admin_init('')
       #3 C:\inetpub\wwwroot\CPNASandbox\wp-includes\plugin.php(525): call_user_func_array(Array, Array)
       #4 C:\inetpub\wwwroot\CPNASandbox\wp-admin\admin.php(168): do_action('admin_init')
       #5 C:\inetpub\wwwroot\CPNASandbox\wp-admin\plugins.php(10): require_once('C:\\inetpub\\wwwr...')
       #6 {main}
         thrown in C:\inetpub\wwwroot\CPNASandbox\wp-content\plugins\w3-total-cache\Root_Environment.php on line 83
       [23-Oct-2019 15:44:03 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:44:03 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:44:04 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:44:04 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:44:08 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:44:08 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:44:08 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:44:08 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:44:09 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:44:09 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:44:09 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:44:09 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:45:05 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:45:05 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:45:05 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:45:05 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:45:07 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:45:07 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:45:07 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:45:07 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:45:08 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:45:08 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:45:08 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:45:08 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:45:09 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:45:09 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:45:09 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:45:09 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:45:25 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:45:25 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:45:26 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:45:26 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:46:05 UTC] PHP Fatal error:  Uncaught exception 'W3TC\Util_Environment_Exceptions' in C:\inetpub\wwwroot\CPNASandbox\wp-content\plugins\w3-total-cache\Root_Environment.php:83
       Stack trace:
       #0 C:\inetpub\wwwroot\CPNASandbox\wp-content\plugins\w3-total-cache\Util_Activation.php(203): W3TC\Root_Environment->fix_after_deactivation()
       #1 C:\inetpub\wwwroot\CPNASandbox\wp-content\plugins\w3-total-cache\Generic_Plugin_Admin.php(214): W3TC\Util_Activation::deactivate_plugin()
       #2 [internal function]: W3TC\Generic_Plugin_Admin->admin_init('')
       #3 C:\inetpub\wwwroot\CPNASandbox\wp-includes\plugin.php(525): call_user_func_array(Array, Array)
       #4 C:\inetpub\wwwroot\CPNASandbox\wp-admin\admin.php(168): do_action('admin_init')
       #5 C:\inetpub\wwwroot\CPNASandbox\wp-admin\plugins.php(10): require_once('C:\\inetpub\\wwwr...')
       #6 {main}
         thrown in C:\inetpub\wwwroot\CPNASandbox\wp-content\plugins\w3-total-cache\Root_Environment.php on line 83
       [23-Oct-2019 15:46:08 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:46:08 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:46:08 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:46:08 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:46:12 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:46:12 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:46:12 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:46:12 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:46:12 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:46:12 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:46:12 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:46:12 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:46:13 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:46:13 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:46:13 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:46:13 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:47:10 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:47:10 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:47:11 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:47:11 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:47:47 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:47:47 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:47:48 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:47:48 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:47:48 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:47:48 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:47:48 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:47:48 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:47:49 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:47:49 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:47:49 UTC] PHP Warning:  include(C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       [23-Oct-2019 15:47:49 UTC] PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot\CPNASandbox/wp-content/advanced-cache.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\CPNASandbox\wp-settings.php on line 74
       ```
   
    -  This reply was modified 6 years, 9 months ago by [georgeoffley](https://wordpress.org/support/users/georgeoffley/).
    -  This reply was modified 6 years, 9 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/w3c-500-error-when-clearing-cache/#post-12060673)
 * Hello [@georgeoffley](https://wordpress.org/support/users/georgeoffley/)
 * Your error log shows the information only about deactivation.
    And this is because
   the plugin can’t access the filesystem to apply the required changes. We’ll make
   it optionable for deactivation for the future. But as you can see there are no
   errors related to purging. W3 Total Cache should work on IIS environments and
   this is the first issue of this kind reported to us when website is hosted on
   IIS. Have you tried to manually remove the /cache/ folder?
 *  Thread Starter [georgeoffley](https://wordpress.org/support/users/georgeoffley/)
 * (@georgeoffley)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/w3c-500-error-when-clearing-cache/#post-12061739)
 * Hello [@vmarko](https://wordpress.org/support/users/vmarko/)
 * To clarify which /cache/ folder are you referring to? I have not tried removing
   any files manually.
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/w3c-500-error-when-clearing-cache/#post-12062175)
 * Hello [@georgeoffley](https://wordpress.org/support/users/georgeoffley/)
 * I am referring to your wp-content/cache/ folder. Can you please delete this folder
   manually?
 *  Thread Starter [georgeoffley](https://wordpress.org/support/users/georgeoffley/)
 * (@georgeoffley)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/w3c-500-error-when-clearing-cache/#post-12062355)
 * Hello [@vmarko](https://wordpress.org/support/users/vmarko/)
 * I deleted the folder and tried to see if that cleared the issue and it still 
   throws the 500 error when trying to uninstall the plugin or empty the cache. 
   I do have the ability to deactivate it though.
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/w3c-500-error-when-clearing-cache/#post-12064455)
 * Hello [@georgeoffley](https://wordpress.org/support/users/georgeoffley/)
 * Have you checked your web.config file? Are the rules there applied in order?
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/w3c-500-error-when-clearing-cache/#post-12086562)
 * No activity for a week.
    Marking topic as resolved
 *  Thread Starter [georgeoffley](https://wordpress.org/support/users/georgeoffley/)
 * (@georgeoffley)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/w3c-500-error-when-clearing-cache/#post-12087194)
 * Hello [@vmarko](https://wordpress.org/support/users/vmarko/)
 * This issue is not resolved. I have checked the web.config file and there is no
   issue that I can find.
 *  Thread Starter [georgeoffley](https://wordpress.org/support/users/georgeoffley/)
 * (@georgeoffley)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/w3c-500-error-when-clearing-cache/#post-12087260)
 * Also [@vmarko](https://wordpress.org/support/users/vmarko/)
 * I should mention that this same behavior is happening on another site which I
   manage which is hosted on the same server. Is there a way in which it could be
   a server level issue?
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/w3c-500-error-when-clearing-cache/#post-12088336)
 * Hello [@georgeoffley](https://wordpress.org/support/users/georgeoffley/)
 * It appears that this is related to your server configuration.
    We can investigate
   this for you but in that case, I can only offer you our Professional support 
   in Performance>Support.

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

The topic ‘W3C 500 Error when clearing cache’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

## Tags

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

 * 15 replies
 * 2 participants
 * Last reply from: [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/w3c-500-error-when-clearing-cache/#post-12088336)
 * Status: resolved