PHP 7.3 “continue” error
-
This plugin generates the following warnings when used with PHP 7.3:
Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in /srv/www/easylanguages.com/current/web/app/plugins/cf7-grid-layout/public/class-cf7-grid-layout-public.php on line 1099
Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in /srv/www/easylanguages.com/current/web/app/plugins/cf7-grid-layout/public/class-cf7-grid-layout-public.php on line 1512
After looking at the code, it seems clear that “continue 2” is what is needed, so I made that change to my local copy and it is working as expected. It would be great if you could also make the change in your code for your next update.
Note: This may also be the root cause of this issue: https://www.ads-software.com/support/topic/warning-cannot-modify-header-information-199/
- The topic ‘PHP 7.3 “continue” error’ is closed to new replies.