PHP 7.3 Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?


今天在给客户做主题二次开发时遇到这样的错误。

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /www/wwwroot/outdoorpeople.pro/wp-content/plugins/agensy-common/ReduxFramework/ReduxCore/extensions/customizer/extension_customizer.php on line 272

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /www/wwwroot/outdoorpeople.pro/wp-content/plugins/agensy-common/ReduxFramework/ReduxCore/extensions/customizer/extension_customizer.php on line 285

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /www/wwwroot/outdoorpeople.pro/wp-content/plugins/agensy-common/ReduxFramework/ReduxCore/extensions/customizer/extension_customizer.php on line 311

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /www/wwwroot/outdoorpeople.pro/wp-content/plugins/agensy-common/ReduxFramework/ReduxCore/extensions/customizer/extension_customizer.php on line 323

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /www/wwwroot/outdoorpeople.pro/wp-content/plugins/agensy-common/ReduxFramework/ReduxCore/extensions/customizer/extension_customizer.php on line 342

经查,这是 php7.3 的 bug,更新 php 的版本;或者降级到 php7.2 可解决。


阿里云虚拟主机WordPress无法发送邮件的解决方案 >>
  • 作者 建站迷

    建站迷

    让天下没有难做的网站!
    解决中小型企业的无站之伤。



没有账号? 忘记密码?

社交账号快速登录