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)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-delete-cache/)
 * 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 1 replies (of 1 total)

 *  Thread Starter [susie.Q](https://wordpress.org/support/users/susieq-1/)
 * (@susieq-1)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-delete-cache/#post-3656966)
 * Really sorry for the double post – it was unintentional.

Viewing 1 replies (of 1 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=3506220)
 * [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/)

 * 1 reply
 * 1 participant
 * Last reply from: [susie.Q](https://wordpress.org/support/users/susieq-1/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-delete-cache/#post-3656966)
 * Status: resolved