After updated my dev site to joomla 4 - I received this error on all pages - (thanks in advance)
Cannot access protected property Joomla\CMS\Menu\MenuItem::$params
{
$class .= ' default';
}
if (($item->id == $active_id) || ($item->type == 'alias' && $item->params->get('aliasoptions') == $active_id))
{
$class .= ' current';
}
if (in_array($item->id, $path))