Do you think I should move to PHP 7?

Hello,

Website: http://yourtechadvisors.com

Do you think it is safe enough to move to PHP7 yet? I am kind of concerned with my plugins not being compatible, but from what I can tell, they don’t seem to be out of date. Any thoughts welcome.

Thanks.

  • Milan
    • WordPress Wizard

    Hello @Alex,

    I hope you are having a good day and thanks for the asking. :slight_smile:

    I can’t test all of our plugin to confirm that those all work fine with php7. :slight_smile: But according to php7 docs and our plugins current coding standard it should work fine. Why don’t you give it a try on some sandbox site first and test plugin which you want to use on your live before you plan to launch php7 on live site. ?

    It will be good for you if you go with “sandbox testing first” model as it will possibly find any error and bug in advance before you use it on your live site.

    I hope this helps you.

    Please let me know if there is anything else I can help you with.

    Cheers,

    Milan Savaliya.

  • Jeremy
    • WordPress Enthusiast

    We have been moving sites to php7, so far quite good. No reason not to do it if a site is compatible?

    A lot of hosts let hot swaps between php versions so its easy to see if youare going to get php errors or 500 errors.

    Though I’m not sure how we could measure it, the sites are/should be faster and use less server resources which is fine by me. The main issue is some incompatibilities with themes that required updates, specifically we have used woothemes canvas a lot and there is a fix in the last few point releases that solved php7 issues.

  • Alex Stine
    • System Administrator

    Hello,

    I just moved my other production site to PHP 7 today. I don’t know if it is related, but I am getting this warning on the bottom of my site.

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

    I forgot to cut out the first part of the path before posting. I edited it out. Just hope no one on this email list will hack me. LOL. Oh well, you learn from your mistakes.

    Thanks :slight_smile:

  • Alex Stine
    • System Administrator

    OK, SiteGround thinks it is an error between server side caching, php 7, and W3 Total Cache. I think by looking at the wordpress.org forums, that W3 Total Cache has lost all support. What about you all?

    That of course would be terrible considering it is just about everyone number 1 choice for caching plugins.

    EDIT: Disabled database caching and now I do not have sufficient privileges to access W3 Total Cache. UHHHHHH. I hate developers that abandon plugins.

    Thanks.