Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 130709

PHP Warnings in Admin after PHP 7.3 Upgrade

$
0
0

Replies: 0

PHP 7.3 upgrade is now throwing warnings in the admin:

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /nas/content/live/virtuapartners/wp-content/plugins/addon-library/inc_php/layouts/unitecreator_layouts_exporter.class.php on line 669

This wouldn’t be a huge problem if the plugin itself didn’t always turn error reporting on.

I suggest wrapping line 11 of addonlibrary.php in a conditional detecting whether WP_DEBUG is turned on.


Viewing all articles
Browse latest Browse all 130709

Trending Articles