Title: Fatal Error when Delete Cache
Last modified: August 21, 2016

---

# Fatal Error when Delete Cache

 *  Resolved [susie.Q](https://wordpress.org/support/users/susieq-1/)
 * (@susieq-1)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/fatal-error-when-delete-cache-1/)
 * I just upgraded to WP 3.5.1 and now WP Super Cache (1.3.1) has developed a problem.
   When I delete the cache I get this message:
 * Fatal error: Call to undefined function get_supercache_dir() in /home/xxxx/public_html/
   wp-content/plugins/wp-super-cache/wp-cache.php on line 385
 * I have deactivated the plug in for the time being. How do I fix this?
 * Thanks!
 * [http://wordpress.org/extend/plugins/wp-super-cache/](http://wordpress.org/extend/plugins/wp-super-cache/)

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

 *  Thread Starter [susie.Q](https://wordpress.org/support/users/susieq-1/)
 * (@susieq-1)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/fatal-error-when-delete-cache-1/#post-3656965)
 * Uninstalling and reinstalling fixed it. Appears there was a conflict with WP-
   Ban.
 *  [bobbieblakely](https://wordpress.org/support/users/bobbieblakely/)
 * (@bobbieblakely)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-when-delete-cache-1/#post-3657229)
 * I was going to switch to a different cache plugin. I had two uploaded and one
   activated. I tried to delete both. I got an error and now have text including
   this at the end.
    I can’t log in or get back into my wp site.
 * Fatal error: Call to undefined function wp() in /home/bobbiebl/public_html/blog/
   wp-blog-header.php on line 14
 *  Thread Starter [susie.Q](https://wordpress.org/support/users/susieq-1/)
 * (@susieq-1)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-when-delete-cache-1/#post-3657230)
 * Use your FTP and go to your plugin folder on your server. Delete both cache plugins
   there.
 * Then try your site again and see if you have access.
 * What was the cache plugin that activated and caused the problem and what was 
   your other choice?
 * Your goal is to find a cache plugin that doesn’t conflict with your other plugins.

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

The topic ‘Fatal Error when Delete Cache’ is closed to new replies.

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

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [susie.Q](https://wordpress.org/support/users/susieq-1/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-when-delete-cache-1/#post-3657230)
 * Status: resolved