↓ Twitter is updated more often, so read it! ↓

A simple fix for wp-cache2 blank pages

I had a serious problem with this installation of WordPress because I was getting blank pages while using wp-cache2.

The fix is to change ob_end_clean(); to ob_end_flush(); on or around line 220 of wp-content/plugins/wp-cache/wp-cache-phase2.php.

This simple sed script will do it for you if you can access your WordPress installation at a command line: sed -i 's/ob_end_clean/ob_end_flush/g' wp-content/plugins/wp-cache/wp-cache-phase2.php. Make sure that you’re in the base directory of your WordPress installation.

I found the fix for this at the WordPress support forums.

Leave a comment