• Hi,

    I am seeing this warning in error_log.php. This is coming up like every second. Can this be removed? Thanks.

    [30-Jul-2020 07:23:06 UTC] PHP Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in /xxx/wp-content/plugins/before-and-after/include/ba.settings.page.class.php on line 326

Viewing 2 replies - 1 through 2 (of 2 total)
  • I was getting the same error on the WordPress dashboard page and it was causing my main menu to not show up on the site every other load or so. I think I’ve solved the problem by changing the “continue;” on line 326 of “ba.settings.page.class.php” to “break;”. I think it has to do with a change in php version 7.3 which is somewhat documented here: https://www.php.net/manual/en/migration73.incompatible.php

    It seems to work – I’m not sure if it may have broken some other functionality.

    We have the same issue on PHP 7.3.

    Is there an update resolution for this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Getting PHP Warning “continue” targeting switch is equivalent to “break”’ is closed to new replies.