• One of my sites is broken after a server update to PHP 7.0 with the following message generated in a PHP compatibility checker:

    FILE: /dom16213/wp-content/plugins/shortcodes-ultimate/inc/core/tools.php
    ————————————————————————————————————————-
    FOUND 1 ERROR AFFECTING 1 LINE
    ————————————————————————————————————————-
    681 | ERROR | Using ‘break’ outside of a loop or switch structure is invalid and will throw a fatal error since PHP 7.0
    ————————————————————————————————————————-

Viewing 3 replies - 1 through 3 (of 3 total)
  • I am also receiving this warning. I would like to update to PHP 7, but am not certain how to deal with the error.

    Is this something that is planning to be addressed, as I suspect all WordPress sites will eventually be forced to update?

    Of note, we’re also seeing this error.

    Mariette

    (@mariettej)

    This is a problem for me too.

    Hopefully the developers will respond soon but in the meantime I found this thread which offers a solution:

    https://wordpress.org/support/topic/php7-error-11/

    I haven’t tested it yet but it looks promising.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Does not work with PHP 7.0’ is closed to new replies.