PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /public_html/wp-content/plugins/unyson/framework/extensions/backup/includes/lib/srdb.class.php on line 854 #4297
I've just upgraded to WordPress 6.1.1 and PHP 8.1. I am getting the following warning in the error_log:
PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /public_html/wp-content/plugins/unyson/framework/extensions/backup/includes/lib/srdb.class.php on line 854
Somebody made an oopsy...
If you view the noted line, basically there is a continue; followed by break;
I can tell you which one never runs. What I can't tell you, is which one is supposed to run!
Which brings to mind the song:
"One of these things is not like the other,
One of these things does not belong..."
I've just upgraded to WordPress 6.1.1 and PHP 8.1. I am getting the following warning in the error_log:
PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /public_html/wp-content/plugins/unyson/framework/extensions/backup/includes/lib/srdb.class.php on line 854
Somebody made an oopsy...
If you view the noted line, basically there is a continue; followed by break;
I can tell you which one never runs. What I can't tell you, is which one is supposed to run!
Which brings to mind the song: "One of these things is not like the other, One of these things does not belong..."