-
Problem report
-
Resolution: Duplicate
-
Trivial
-
None
-
5.2.6
-
Sprint 78 (Jul 2021), Sprint 79 (Aug 2021), Sprint 80 (Sep 2021), Sprint 81 (Oct 2021), Sprint 82 (Nov 2021)
Steps to reproduce:
- Install PHP 8 (8.0.5)
- Go to monitoring -> maps
Result:
Httpd error log reads:
PHP Fatal error: Uncaught ArgumentCountError: array_merge() does not accept unknown named parameters in /usr/share/webapps/zabbix/include/classes/macros/CMacrosResolver.php:2118
Stack trace:
#0 /usr/share/webapps/zabbix/include/classes/macros/CMacrosResolver.php(2118): array_merge(label: Array, urls: Array)
#1 [internal function]: CMacrosResolver->{closure}(Array)
#2 /usr/share/webapps/zabbix/include/classes/macros/CMacrosResolver.php(2119): array_map(Object(Closure), Array)
#3 /usr/share/webapps/zabbix/include/classes/macros/CMacrosResolverHelper.php(674): CMacrosResolver->resolveMacrosInMapElements(Array, Array)
#4 /usr/share/webapps/zabbix/include/classes/helpers/CMapHelper.php(103): CMacrosResolverHelper::resolveMacrosInMapElements(Array, Array)
#5 /usr/share/webapps/zabbix/include/classes/screens/CScreenMap.php(36): CMapHelper::get('3', Array)
#6 /usr/share/webapps/zabbix/app/views/monitoring.map.view.php(91): CScreenMap->get()
#7 /usr/share/webapps/zabbix/include/classes/mvc/CView.php(122): include('/usr/share/weba...')
#8 /usr/share/webapps/zabbix/include/classes/core/ZBase.php(618): CView->getOutput()
#9 /usr/share/webapps/zabbix/include/classes/core/ZBase.php(547): ZBase->processResponseFinal(Object(CRouter), Object(CControllerMapView))
#10 /usr/share/webapps/zabbix/include/classes/core/ZBase.php(211): ZBase->processRequest(Object(CRouter))
#11 /usr/share/webapps/zabbix/include/config.inc.php(25): ZBase->run('default')
#12 /usr/share/webapps/zabbix/zabbix.php(22): require_once('/usr/share/weba...')\n#13 {main}
{{ thrown in /usr/share/webapps/zabbix/include/classes/macros/CMacrosResolver.php on line 2118}}
- caused by
-
ZBXNEXT-7080 Provide Frontend support for the upcoming PHP 8.0 + JIT
- Closed
- duplicates
-
ZBXNEXT-7080 Provide Frontend support for the upcoming PHP 8.0 + JIT
- Closed