Support » Plugin: W3 Total Cache » PHP7 compatibility

Viewing 15 replies - 1 through 15 (of 28 total)
  • Seems to be working okay on PHP 7 in my dev environment.

    Thanks for your feedback!

    I have enabled PHP7 on my website today and I’ve noticed this PHP error on login screen:

    Warning: Parameter 1 to W3_Plugin_TotalCache::ob_callback() expected to be a reference, value given in WP_PATH/wp-includes/functions.php on line 3297

    Any insight please?



    However, I have to state that this is an issue occurring on one of my sites only. Other sites use the same W3TC plugin settings though, but there is no error displayed… All of them are on PHP7 now.

    Problem I have on my site, when using PHP7, minify is not working. Even with debug on, no debug info is written.

    Are there some specific modules necessary?
    As soon as I switch back to PHP5.6, everything is working fine.


    I also have this error message on some of my PHP7RC sites with W3TC running. Some sites are OK, others aren’t. I’ve tried resetting the plugin, but that didn’t help. Switching back to PHP 5.6 fixed it.

    Warning: Parameter 1 to W3_Plugin_TotalCache::ob_callback() expected to be a reference

    I saw the same problem on my blog.
    I think this problem is related to this problem, and you can find the quick fix here.

    I don’t know why this problem is still there, but it will solve this problem.


    Thanks! This fixes the problem and minify is working with php7.
    Thank again!

    The fix hasn’t solved the problem with minify (w3tc) on [Link redacted]. Is w3tc still maintained/supported (no update so far)?

    Sorry, the fault was totally ours. It works now with the fix. Thanks!

    and memcached when will that fixed its does not see memcached in php 7 it worked in php 5.4 make an update guys !

    memcache doesn’t support php7 yet and has nothing to do with w3t

    I am getting errors with W3 totalcaching in PHP 7.0 mode. You see them in your httpd logs.

    There is a github fix BUT that breaks the non-www>www forwarding. Your non-www will just display >?.

    For now I have had to abandon W3 totalcaching.

    Argh I’m having the same problems with PHP 7. Hoping there is a resolution soon. Going to switch back to PHP 5 for the time being.

Viewing 15 replies - 1 through 15 (of 28 total)
  • The topic ‘PHP7 compatibility’ is closed to new replies.