• Frederick,

    Thanks for W3TC!

    With PHP 7 I’m seeing many errors like the one below:
    [error] [client X.X.X.X] FastCGI: server “/home/www/fastcgi.fcgi” stderr: PHP message: PHP Warning: Parameter 1 to W3_Plugin_TotalCache::ob_callback() expected to be a reference, value given in /home/www/site/wp-includes/functions.php on line 3553

    Is there a reason to not make the below change to line 512 of lib/W3/Plugin/TotalCache.php?
    – function ob_callback(&$buffer) {
    + function ob_callback($buffer) {

    It’s been suggested elsewhere, and seems to work wonderfully on 5.6 & 7.0x

    Thanks!

    https://www.ads-software.com/plugins/w3-total-cache/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘W3TC Bug & PHP 7 compatibility’ is closed to new replies.