PHP7 compatibility
-
I upgraded my site to PHP 7.0. All went fine, the wordpress portal runs without any hickup. I installed then the plugin PHP Compatibility Checker:
https://de.www.ads-software.com/plugins/php-compatibility-checker/
it reports an error in line 190 of wp-content/themes/customizr/core/framework/class-controllers.php: break statement outside of loop. I think this is an error of the checker plugin, but it can be easily avoided by enclosing the statements in braces:// eehmke remove warning (break outside loop) foreach ( $this -> controllers as $group => $views_id ) { foreach( $controller_ids as $id ) { if ( in_array($id, $views_id) ) { $controller_cb = $id; $controller_group = $group; break 2; } //if } //foreach } //foreach
As long as the checker plugin is not updated, it would be nice if the customizr theme just did not trigger this error.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘PHP7 compatibility’ is closed to new replies.