2018-11-20, 23:47:11
Since changing to PHP-version 7.2 I get a warning:
Installation is up-to-date. GetSimple 3.3.15, I18N Navigation 3.3.1
I can suppress the warning by adding
Maybe you have a better idea for that.
Quote:Warning: count(): Parameter must be an array or an object that implements Countable in /getsimple/plugins/i18n_navigation/frontend.class.php on line 219
219: 'haschildren' => $showChildren ? count($children) > 0 : self::hasChildren($childurl, $show)
Installation is up-to-date. GetSimple 3.3.15, I18N Navigation 3.3.1
I can suppress the warning by adding
Code:
if (version_compare(PHP_VERSION, '7.2.0', '>=')) {
error_reporting(E_ALL ^ E_WARNING);
}
Maybe you have a better idea for that.