WordPress.org

Ready to get started?Download WordPress

Forums

Maintenance Mode
[resolved] W3 Total Cache Plugin Conflict (7 posts)

  1. theroundwell
    Member
    Posted 3 years ago #

    I have W3 Total Cache activated. When I put my site into maintenance mode, I get a blank screen instead of the Maintenance Mode screen. When I deactivate W3, the maintenance mode screen shows up. Any ideas what's causing this, and what it will take to have both plugins play nice together?

    http://wordpress.org/extend/plugins/maintenance-mode/

  2. Frederick Townes
    Member
    Posted 3 years ago #

    I replied to your email about this. I guess the author of the other plugin resoled this.

  3. theroundwell
    Member
    Posted 3 years ago #

    The author of the plugin suggested the following, which worked:

    if( defined( 'WPCACHEHOME' ) ) {
    // Solves issue of white page output with Super Cache plugin version 0.9.9.6.
    // Did not occur when removing <html> and </html> tag in splash page source, so weird problem.
    ob_end_clean();
    }

    "I don't know W3 Total Cache Plugin, but you could try to remove the aforementioned code and replace it just with this piece of code:

    ob_end_clean();"

    After I emptied the page cache, this seemed to work.

  4. Frederick Townes
    Member
    Posted 3 years ago #

    Thanks @theroundwell!

  5. dlozupone
    Member
    Posted 3 years ago #

    Were does this code go?

  6. theroundwell
    Member
    Posted 3 years ago #

    As of Maintenance Mode 5.4, it's the file "maintenance-mode.php", line 188 to 192

  7. Frederick Townes
    Member
    Posted 3 years ago #

    Can someone mark this topic as resolved?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic