Title: Fatal error in Generic_AdminActions_Flush.php
Last modified: November 23, 2016

---

# Fatal error in Generic_AdminActions_Flush.php

 *  [Art Smith](https://wordpress.org/support/users/ambrosiawt/)
 * (@ambrosiawt)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-in-generic_adminactions_flush-php/)
 * Using the most current version of the plugin (0.9.5.1) ran into a fatal error
   when on the plugin dashboard page I selected “empty only the disk cache(s)”.
 * PHP Fatal error: Call to undefined method W3TC\Generic_AdminActions_Flush::flush_pgcache()
   in /home/mcc/public_html/wp-content/plugins/w3-total-cache/Generic_AdminActions_Flush.
   php on line 250
 * This line of code reads: $this->flush_pgcache();
 * I found no such function, but did find: function w3tc_flush_pgcache() in the 
   same file.
 * When I changed the line of code to call this function instead, it seemed to work.
 * Regards,
 * Art Smith

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

 *  [davidp378](https://wordpress.org/support/users/davidpmojo/)
 * (@davidpmojo)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-in-generic_adminactions_flush-php/#post-8486333)
 * +1
 * Same issue here.
 *  [nigro.simone](https://wordpress.org/support/users/nigrosimone/)
 * (@nigrosimone)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-in-generic_adminactions_flush-php/#post-8629585)
 * this is the fix [https://github.com/szepeviktor/w3-total-cache-fixed/commit/f0416a6b22e0ebbb5ec922651d742e66ba67ffc8](https://github.com/szepeviktor/w3-total-cache-fixed/commit/f0416a6b22e0ebbb5ec922651d742e66ba67ffc8)

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

The topic ‘Fatal error in Generic_AdminActions_Flush.php’ 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

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

 * 2 replies
 * 3 participants
 * Last reply from: [nigro.simone](https://wordpress.org/support/users/nigrosimone/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-in-generic_adminactions_flush-php/#post-8629585)
 * Status: not resolved