Support

Account

Home Forums Feedback PHP 7 Fatal Error

Solving

PHP 7 Fatal Error

  • Hi there,
    We have just begun testing PHP 7 in our staging environments and have found that for the front-end things are looking pretty good. Speed improvements are definitely welcome. But ACF Pro appears to throw one of the new and exiting errors.

    `Fatal error: ‘break’ not in the ‘loop’ or ‘switch’ context in /srv/users/serverpilot/apps/xxx/web/app/themes/xxx/lib/acf.php on line 30

    Going to have a quick look and see if it’s a easy fix, but thought you might want to know.

    Thanks again ^-^

  • And now I feel sheepish as I realise it’s one of mine!
    Clearly not enough coffee this morning, just ignore me… I’ll be over here… hiding behind my mug.

  • Hi @drew-garratt

    Good to know ACF plays nice with PHP7 at least! 🙂
    I’m looking forward to it in October myself and will have to test some plugins too..

    Good luck!

  • Haven’t checked it with PHP 7 yet, however it works fine with the latest HHVM 🙂

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘PHP 7 Fatal Error’ is closed to new replies.