Fehlermeldung: menu.php on line 258

  • Hallo,

    ich habe ein Problem nach Update bei DomainFactory auf 7.2 PHP (Joomla version, 3.9.3.)

    Aktuelle Probleme und Fehler:


    Warning: count(): Parameter must be an array or an object that implements Countable in /plugins/system/helix3/core/classes/menu.php on line 258




    line 258:

    257 // only module exist

    258 if (count($item->params->get('menulayout')) == 1) {

    259 $mega_json = $item->params->get('menulayout');

    260 $mega = json_decode($mega_json);

    261 $layout = $mega->layout;

    262

    263 $layout = $layout[0];

    264 $col = $layout->attr[0];

    265 $mod_ids = ($col->moduleId)? explode(',', $col->moduleId):array();

    266

    267 if (count($mod_ids))

    268 {

    269 foreach ($mod_ids as $mod_id)

    270 {

    271 $this->menu .= $this->load_module($mod_id);

    272 }

    273 }

    274 }

    275

    276 $this->menu .= '</div>';

    277 $this->menu .= '</div>';

    278 }


    Hat jemand von euch einen Hinweis, wie ich das Problem lösen kann?! Würde mich sehr freuen.


    Viele Grüße