Skip to content
This repository has been archived by the owner on Feb 23, 2019. It is now read-only.

Commit

Permalink
Fix fatal error: Call to undefined method flush_pgcache() (#135)
Browse files Browse the repository at this point in the history
from https://wordpress.org/support/topic/w3-total-cache-errors-and-not-flush-page-cache/

> Fatal error: Call to undefined method W3TC\Generic_AdminActions_Flush::flush_pgcache() in /public_html/wp-content/plugins/w3-total-cache/Generic_AdminActions_Flush.php on line 250
  • Loading branch information
nigrosimone committed Oct 3, 2016
1 parent 992d5cf commit f0416a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Generic_AdminActions_Flush.php
Expand Up @@ -247,7 +247,7 @@ function flush( $type ) {
$state_note->set( 'common.show_note.flush_posts_needed', false );
$state_note->set( 'common.show_note.plugins_updated', false );

$this->flush_pgcache();
$this->w3tc_flush_pgcache();
}

if ( $this->_config->get_string( 'dbcache.engine' ) == $type && $this->_config->get_boolean( 'dbcache.enabled' ) ) {
Expand Down

0 comments on commit f0416a6

Please sign in to comment.