• I moved my WP to a new hosting with nginx and PHP7. When I try to empty only the disk cache
    (w3tc_flush_file) I see a blank page. I found this on error.log:

    2016/12/26 22:01:19 [error] 11916#11916: *3 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to undefined method W3TC\Generic_AdminActions_Flush::flush_pgcache() in /apps/webserver/mydomain.com/httpdocs/wp-content/plugins/w3-total-cache/Generic_AdminActions_Flush.php:250
    Stack trace:
    #0 /apps/webserver/mydomain.com/httpdocs/wp-content/plugins/w3-total-cache/Generic_AdminActions_Flush.php(297): W3TC\Generic_AdminActions_Flush->flush(‘file_generic’)
    #1 /apps/webserver/mydomain.com/httpdocs/wp-content/plugins/w3-total-cache/Generic_AdminActions_Flush.php(55): W3TC\Generic_AdminActions_Flush->flush_file()
    #2 /apps/webserver/mydomain.com/httpdocs/wp-content/plugins/w3-total-cache/Root_AdminActions.php(25): W3TC\Generic_AdminActions_Flush->w3tc_flush_file()
    #3 /apps/webserver/mydomain.com/httpdocs/wp-content/plugins/w3-total-cache/Generic_Plugin_Admin.php(159): W3TC\Root_AdminActions->execute(‘w3tc_flush_file’)
    #4 /apps/webserver/mydomain.com/httpdocs/wp-includes/class-wp-hook.php(298): W3TC\Generic_Plugin_Admin->load(”)
    #5 /apps/webserve” while reading response header from upstream, client: 79.27.50.75, server: mydomain.com, request: “POST /wp-admin/admin.php?page=w3tc_dashboard HTTP/1.1”, upstream: “fastcgi://unix:/run/php/php7.0-fpm.sock:”, host: “mydomain.com”, referrer: “https://mydomain.com/wp-admin/admin.php?page=w3tc_dashboard&w3tc_note=flush_opcode”
    2016/12/26 22:02:12 [error] 11916#11916: *3 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to undefined method W3TC\Generic_AdminActions_Flush::flush_pgcache() in /apps/webserver/mydomain.com/httpdocs/wp-content/plugins/w3-total-cache/Generic_AdminActions_Flush.php:250
    Stack trace:
    #0 /apps/webserver/mydomain.com/httpdocs/wp-content/plugins/w3-total-cache/Generic_AdminActions_Flush.php(296): W3TC\Generic_AdminActions_Flush->flush(‘file’)
    #1 /apps/webserver/mydomain.com/httpdocs/wp-content/plugins/w3-total-cache/Generic_AdminActions_Flush.php(55): W3TC\Generic_AdminActions_Flush->flush_file()
    #2 /apps/webserver/mydomain.com/httpdocs/wp-content/plugins/w3-total-cache/Root_AdminActions.php(25): W3TC\Generic_AdminActions_Flush->w3tc_flush_file()
    #3 /apps/webserver/mydomain.com/httpdocs/wp-content/plugins/w3-total-cache/Generic_Plugin_Admin.php(159): W3TC\Root_AdminActions->execute(‘w3tc_flush_file’)
    #4 /apps/webserver/mydomain.com/httpdocs/wp-includes/class-wp-hook.php(298): W3TC\Generic_Plugin_Admin->load(”)
    #5 /apps/webserver/gioias” while reading response header from upstream, client: 79.27.50.75, server: mydomain.com, request: “POST /wp-admin/admin.php?page=w3tc_dashboard HTTP/1.1”, upstream: “fastcgi://unix:/run/php/php7.0-fpm.sock:”, host: “mydomain.com”, referrer: “https://mydomain.com/wp-admin/admin.php?page=w3tc_dashboard”
    2016/12/26 22:02:25 [error] 11916#11916: *3 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to undefined method W3TC\Generic_AdminActions_Flush::flush_pgcache() in /apps/webserver/mydomain.com/httpdocs/wp-content/plugins/w3-total-cache/Generic_AdminActions_Flush.php:250
    Stack trace:
    #0 /apps/webserver/mydomain.com/httpdocs/wp-content/plugins/w3-total-cache/Generic_AdminActions_Flush.php(296): W3TC\Generic_AdminActions_Flush->flush(‘file’)
    #1 /apps/webserver/mydomain.com/httpdocs/wp-content/plugins/w3-total-cache/Generic_AdminActions_Flush.php(55): W3TC\Generic_AdminActions_Flush->flush_file()
    #2 /apps/webserver/mydomain.com/httpdocs/wp-content/plugins/w3-total-cache/Root_AdminActions.php(25): W3TC\Generic_AdminActions_Flush->w3tc_flush_file()
    #3 /apps/webserver/mydomain.com/httpdocs/wp-content/plugins/w3-total-cache/Generic_Plugin_Admin.php(159): W3TC\Root_AdminActions->execute(‘w3tc_flush_file’)
    #4 /apps/webserver/mydomain.com/httpdocs/wp-includes/class-wp-hook.php(298): W3TC\Generic_Plugin_Admin->load(”)
    #5 /apps/webserver/gioias” while reading response header from upstream, client: 79.27.50.75, server: mydomain.com, request: “POST /wp-admin/admin.php?page=w3tc_dashboard HTTP/1.1”, upstream: “fastcgi://unix:/run/php/php7.0-fpm.sock:”, host: “mydomain.com”, referrer: “https://mydomain.com/wp-admin/admin.php?page=w3tc_dashboard&w3tc_note=flush_opcode”

    Can you help me?
    Thanks!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘PHP Fatal error’ is closed to new replies.