W3 Total Cache is a great plugin to speed up your WordPress website. It will make the difference between a server that is crashing under its load when serving 70 requests per seconds to being almost bored when serving 1200 requests per seconds. However: to make the W3 Total Cache plugin functional on a PHP7 powered website, make sure to implement the following fix.
File “wp-content/plugins/w3-total-cache/lib/W3/Plugin/TotalCache.php”, line 512, remove the & (ampersand) so the line changes from:
1 | function ob_callback(&$buffer) { |
to:
1 | function ob_callback($buffer) { |