W3 Total Cache plugin with PHP7

By | June 27, 2016

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:

to:

Leave a Reply

Your email address will not be published. Required fields are marked *