theroundwell
Member
Posted 1 year 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/
I replied to your email about this. I guess the author of the other plugin resoled this.
theroundwell
Member
Posted 1 year 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.
dlozupone
Member
Posted 1 year ago #
theroundwell
Member
Posted 1 year ago #
As of Maintenance Mode 5.4, it's the file "maintenance-mode.php", line 188 to 192
Can someone mark this topic as resolved?