diff --git a/application/menunode.class.inc.php b/application/menunode.class.inc.php index 244209db6..a47a495a4 100644 --- a/application/menunode.class.inc.php +++ b/application/menunode.class.inc.php @@ -280,9 +280,11 @@ class ApplicationMenu $oMenuNode = static::GetMenuNode($sMenuGroupIdx); if (!($oMenuNode instanceof MenuGroup)) { - IssueLog::Error('Menu node was not displayed as a menu group as it is actually not a menu group', LogChannels::CONSOLE, [ + IssueLog::Error('Menu node without parent (root menu) must be of type menu group. Parent menu is missing or not visible to user.', LogChannels::CONSOLE, [ 'menu_node_class' => get_class($oMenuNode), + 'menu_node_id' => $oMenuNode->GetMenuID(), 'menu_node_label' => $oMenuNode->GetLabel(), + 'current_user_id' => UserRights::GetUserId(), ]); continue; }