PHP Fatal error: Uncaught Error: [] operator not supported for strings in /contenido/plugins/pim/classes/view/class.pimpluginview.navsub.php:345
Weil in Zeile 307 steht: $founded = "";
Lösung: $founded = array();
Problem 2:
PHP Warning: count(): Parameter must be an array or an object that implements Countable in /contenido/plugins/pim/classes/view/class.pimpluginview.navsub.php on line 151
Lösung:
Code: Alles auswählen
$countableNav = $xmlPluginXml->contenido->nav_sub->nav;
if(!empty($countableNav)){
$this->_NavCount = count($countableNav);
}else{
$this->_NavCount = 0;
}