-
Problem report
-
Resolution: Unresolved
-
Major
-
6.0.41, 7.0.18
-
AlmaLinux release 9.3
MySQL 8.0.36
Apache/2.4.57
PHP 8.0.30 (fpm-fcgi)
-
Sprint candidates
Steps to reproduce:
- Create a host group (hostgroup01) and a host (host01) assigned to it.
- Create a user group (usergroup01) with read-only access to that host group, and a user (user01) in it.
- Create a map (submap01) containing host01 and Zabbix server.
- Create another map (map01) including submap01.
Result:
The message "System error occurred. Please contact Zabbix administrator." will be displayed.
- 7.0.18
- 7.0.18 Debug Mode
WebInterface DebugModeUndefined array key 10084 [zabbix.php:17 → require_once() → ZBase->run() → ZBase->processRequest() → ZBase->processResponseFinal() → CView->getOutput() → include() → CScreenMap->get() → CMapHelper::get() → CMapHelper::resolveMapState() → getSelementsInfo() in include/maps.inc.php:770] Trying to access array offset on value of type null [zabbix.php:17 → require_once() → ZBase->run() → ZBase->processRequest() → ZBase->processResponseFinal() → CView->getOutput() → include() → CScreenMap->get() → CMapHelper::get() → CMapHelper::resolveMapState() → getSelementsInfo() in include/maps.inc.php:772] Trying to access array offset on value of type null [zabbix.php:17 → require_once() → ZBase->run() → ZBase->processRequest() → ZBase->processResponseFinal() → CView->getOutput() → include() → CScreenMap->get() → CMapHelper::get() → CMapHelper::resolveMapState() → getSelementsInfo() in include/maps.inc.php:775]
httpd error_log[Mon Sep 22 17:57:02.734376 2025] [proxy_fcgi:error] [pid 952:tid 1126] [client 192.168.79.1:63012] AH01071: Got error 'PHP message: PHP Warning: Undefined array key 10084 in /usr/share/zabbix/include/maps.inc.php on line 770PHP message: PHP Warning: Trying to access array offset on value of type null in /usr/share/zabbix/include/maps.inc.php on line 772PHP message: PHP Warning: Trying to access array offset on value of type null in /usr/share/zabbix/include/maps.inc.php on line 775', referer: http://192.168.79.127/zabbix/zabbix.php?action=map.view
Expected:
The message "System error occurred. Please contact Zabbix administrator." is not displayed.
I confirmed the following behavior: