WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
Admin Page Error / White Screen (5 posts)

  1. mikeaag
    Member
    Posted 2 years ago #

    Hey There,

    I've got W3TC 0.9.2.4 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')) {
    	if(@$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 - 3.1.4.1
    • Newsletter - 2.5.2.6
    • Relevanssi - 2.9.14
    • Storefront Insights - 1.1
    • W3 Total Cache - 0.9.2.4
    • WP-PageNavi - 2.82
    • WP e-Commerce - 3.8.7.6.2
    • WP E-Commerce Weight & Destination Shipping Modules - 4.4

    Thanks in advance

    http://wordpress.org/extend/plugins/w3-total-cache/

  2. Frederick Townes
    Member
    Plugin Author

    Posted 2 years ago #

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

  3. ex19
    Member
    Posted 2 years ago #

    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

  4. ex19
    Member
    Posted 2 years ago #

    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.

  5. Frederick Townes
    Member
    Plugin Author

    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic