Title: PHP7 compatibility
Last modified: August 30, 2016

---

# PHP7 compatibility

 *  [vinzen](https://wordpress.org/support/users/vinzen/)
 * (@vinzen)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/php7-compatibility-3/)
 * Hi, Is your plugin compatible with/support PHP 7.0? Thanks.
 * [https://wordpress.org/plugins/w3-total-cache/](https://wordpress.org/plugins/w3-total-cache/)

Viewing 15 replies - 1 through 15 (of 28 total)

1 [2](https://wordpress.org/support/topic/php7-compatibility-3/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/php7-compatibility-3/page/2/?output_format=md)

 *  [xoogu](https://wordpress.org/support/users/xoogu/)
 * (@xoogu)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/php7-compatibility-3/#post-6473911)
 * Seems to be working okay on PHP 7 in my dev environment.
 *  Thread Starter [vinzen](https://wordpress.org/support/users/vinzen/)
 * (@vinzen)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/php7-compatibility-3/#post-6473913)
 * Thanks for your feedback!
 *  [WebMan Design | Oliver Juhas](https://wordpress.org/support/users/webmandesign/)
 * (@webmandesign)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/php7-compatibility-3/#post-6474020)
 * 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?
 * Thanks.
 * Oliver
 *  [WebMan Design | Oliver Juhas](https://wordpress.org/support/users/webmandesign/)
 * (@webmandesign)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/php7-compatibility-3/#post-6474021)
 * 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.
 *  [wilfred45](https://wordpress.org/support/users/wilfred45/)
 * (@wilfred45)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/php7-compatibility-3/#post-6474026)
 * 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.
 *  [gbotica](https://wordpress.org/support/users/gbotica/)
 * (@gbotica)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/php7-compatibility-3/#post-6474037)
 * Hi,
 * 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`
 *  [nullkal](https://wordpress.org/support/users/nullkal/)
 * (@nullkal)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/php7-compatibility-3/#post-6474038)
 * I saw the same problem on my blog.
    I think this problem is related to [this](https://wordpress.org/support/topic/warning-with-hhvm)
   problem, and you can find the quick fix [here](https://github.com/gadelkareem/wp-w3-total-cache/commit/e71030e89f4cd666742ae2ec39451782beb42f3a).
 * I don’t know why this problem is still there, but it will solve this problem.
 *  [wilfred45](https://wordpress.org/support/users/wilfred45/)
 * (@wilfred45)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/php7-compatibility-3/#post-6474039)
 * [@nullkal](https://wordpress.org/support/users/nullkal/),
 * Thanks! This fixes the problem and minify is working with php7.
    Thank again!
 *  [PsychologiaPar](https://wordpress.org/support/users/psychologiapar/)
 * (@psychologiapar)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/php7-compatibility-3/#post-6474057)
 * The fix hasn’t solved the problem with minify (w3tc) on _[Link redacted]_. Is
   w3tc still maintained/supported (no update so far)?
 *  [PsychologiaPar](https://wordpress.org/support/users/psychologiapar/)
 * (@psychologiapar)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/php7-compatibility-3/#post-6474058)
 * Sorry, the fault was totally ours. It works now with the fix. Thanks!
 *  [mantaalex](https://wordpress.org/support/users/mantaalex/)
 * (@mantaalex)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/php7-compatibility-3/#post-6474059)
 * and memcached when will that fixed its does not see memcached in php 7 it worked
   in php 5.4 make an update guys !
 *  [Daniel Zimmermann](https://wordpress.org/support/users/optimiertes/)
 * (@optimiertes)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/php7-compatibility-3/#post-6474068)
 * memcache doesn’t support php7 yet and has nothing to do with w3t
 *  [unclhos](https://wordpress.org/support/users/unclhos/)
 * (@unclhos)
 * [10 years ago](https://wordpress.org/support/topic/php7-compatibility-3/#post-6474069)
 * [https://www.itnota.com/fixing-php7-compatibility-issue-w3-total-cache/](https://www.itnota.com/fixing-php7-compatibility-issue-w3-total-cache/)
 *  [Magistar](https://wordpress.org/support/users/magistar/)
 * (@magistar)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/php7-compatibility-3/#post-6474075)
 * I am getting errors with W3 totalcaching in PHP 7.0 mode. You see them in your
   httpd logs.
 * There is a [github ](https://github.com/gadelkareem/wp-w3-total-cache/commit/e71030e89f4cd666742ae2ec39451782beb42f3a)
   fix BUT that breaks the non-www>www forwarding. Your non-www will just display
   >?.
 * For now I have had to abandon W3 totalcaching.
 *  [Jon Dingman](https://wordpress.org/support/users/jdingman/)
 * (@jdingman)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/php7-compatibility-3/#post-6474077)
 * 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)

1 [2](https://wordpress.org/support/topic/php7-compatibility-3/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/php7-compatibility-3/page/2/?output_format=md)

The topic ‘PHP7 compatibility’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

## Tags

 * [php-7](https://wordpress.org/support/topic-tag/php-7/)

 * 28 replies
 * 21 participants
 * Last reply from: [Kilmanagh](https://wordpress.org/support/users/kilmanagh/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/php7-compatibility-3/page/2/#post-6474102)
 * Status: not resolved