Support » Plugin: W3 Total Cache » [Plugin: W3 Total Cache] Admin Page Error / White Screen

  • Hey There,

    I’ve got W3TC installed on my site.

    I went on it this morning to tweak some minify settings and was unable to access the admin section for W3TC. All i got was the admin sidebar, and the rest of the screen was white.

    I turned on debug mode and got the following error – “Fatal error: Call to undefined method W3_Plugin_PgCacheAdmin::check_rules_legacy() in /htdocs/wp-content/plugins/w3-total-cache/lib/W3/Plugin/TotalCacheAdmin.php on line 858”

    Having checked this file, i made a small change which basically checks to make sure the method exists before calling it. This fixed the error and now means i can access the W3TC admin pages.

    /* Add By Mike*/
    if ($this->_config->get_boolean('notes.pgcache_rules_legacy') && method_exists($w3_plugin_pgcache, 'check_rules_legacy')) {
    		$this->_errors[] = sprintf('Legacy Page Cache rewrite rules have been found. To remove them manually, edit the configuration file (<strong>%s</strong>) and remove all lines between and including <strong>%s</strong> and <strong>%s</strong> markers inclusive. Or if permission allow this can be done automatically, by clicking here: %s. %s', w3_get_pgcache_rules_core_path(), W3TC_MARKER_BEGIN_PGCACHE_LEGACY, W3TC_MARKER_END_PGCACHE_LEGACY, $this->button_link('auto-remove', wp_nonce_url(sprintf('admin.php?page=%s&w3tc_pgcache_remove_rules_legacy', $this->_page), 'w3tc')), $this->button_hide_note('Hide this message', 'pgcache_rules_legacy'));
    /* End Added By Mike */

    Could someone shed some light as to what this method actually does, and what consequences my “fix” will have?

    I would also appreciate any insight as to what might have caused this problem in the first place.

    WordPress Version – 3.3.1

    My Plugins

    • Breadcrumb NavXT – 4.0.2
    • BWP Google XML Sitemaps – 1.2.0
    • Comment Link Manager – 1.1
    • FancyBox for WordPress -3.0.1
    • Fast Secure Contact Form –
    • Newsletter –
    • Relevanssi – 2.9.14
    • Storefront Insights – 1.1
    • W3 Total Cache –
    • WP-PageNavi – 2.82
    • WP e-Commerce –
    • WP E-Commerce Weight & Destination Shipping Modules – 4.4

    Thanks in advance

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Frederick Townes


    Sorry for the trouble, this is fixed in the next release. If you like I can update the development version for testing.

    I do not have a blank screen, but I do have the intermittent white screen in the site between each page load. there are numerous threads online about this issue. I have narrowed it down to this plugin. I saw an earlier thread that was a year ago. Is there a current fix or method of installing that will cure this white screen issue? Also, if I had to install the wt3 before the other plugins, then how would I uninstall it. just deactivate it and do it that way??? or clear all caches.

    Great plugin, thanks very much

    By the way, I noticed when I take off the minify settings that this is not happening as badly. I guess I will attempt to set them one by one maybe just minify certain things.

    Plugin Author Frederick Townes


    That sounds like a memory issue @ex19, what errors are in your error log?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: W3 Total Cache] Admin Page Error / White Screen’ is closed to new replies.