Hi,
Recently upgraded to Zabbix 6.4 and noticed the error.log is being spammed with the below
In addition I am unable to create new user roles as I get the below error
Recently upgraded to Zabbix 6.4 and noticed the error.log is being spammed with the below
Code:
[Tue Mar 21 17:22:29.071126 2023] [php7:notice] [pid 4191985] [client 17:23082] PHP Notice: Undefined index: from in /usr/share/zabbix/include/classes/mvc/CController.php on line 355, referer: https://zabbix.net.work/zabbix.php?action=dashboard.view
[Tue Mar 21 17:22:29.071271 2023] [php7:error] [pid 4191985] [client 17:23082] PHP Fatal error: Uncaught Error: Call to a member function getTimestamp() on null in /usr/share/zabbix/widgets/actionlog/actions/WidgetView.php:110\nStack trace:\n#0 /usr/share/zabbix/include/classes/mvc/CController.php(468): Widgets\\ActionLog\\Actions\\WidgetView->doAction()\n#1 /usr/share/zabbix/include/classes/core/ZBase.php(634): CController->run()\n#2 /usr/share/zabbix/include/classes/core/ZBase.php(233): ZBase->processRequest()\n#3 /usr/share/zabbix/include/config.inc.php(25): ZBase->run()\n#4 /usr/share/zabbix/zabbix.php(22): require_once('/usr/share/zabb...')\n#5 {main}\n thrown in /usr/share/zabbix/widgets/actionlog/actions/WidgetView.php on line 110, referer: https://zabbix.net.work/zabbix.php?action=dashboard.view
Code:
Undefined offset: 1 [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerUserroleCreate->doAction() → CControllerUserroleEditGeneral->getRulesInput() → CControllerUserroleEditGeneral->getModuleSectionRules() → array_map() → CControllerUserroleEditGeneral::{closure}() in app/controllers/CControllerUserroleEditGeneral.php:111]
Undefined offset: 2 [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerUserroleCreate->doAction() → CControllerUserroleEditGeneral->getRulesInput() → CControllerUserroleEditGeneral->getModuleSectionRules() → array_map() → CControllerUserroleEditGeneral::{closure}() in app/controllers/CControllerUserroleEditGeneral.php:111]
Invalid parameter "/1/rules/modules/1/status": an integer is expected.
Comment