-
Problem report
-
Resolution: Unresolved
-
Major
-
None
-
6.0.7
-
None
-
OS: Red Hat Enterprise Linux release 8.6 (Ootpa)
NGINX: nginx version: nginx/1.14.1
PHP: php 7.2.24.1
PHP-FPM: also 7.2.24.1
nginx-1.14.1-9.module+el8.0.0+4108+af250afe.x86_64
nginx-all-modules-1.14.1-9.module+el8.0.0+4108+af250afe.noarch
nginx-filesystem-1.14.1-9.module+el8.0.0+4108+af250afe.noarch
nginx-mod-http-image-filter-1.14.1-9.module+el8.0.0+4108+af250afe.x86_64
nginx-mod-http-perl-1.14.1-9.module+el8.0.0+4108+af250afe.x86_64
nginx-mod-http-xslt-filter-1.14.1-9.module+el8.0.0+4108+af250afe.x86_64
nginx-mod-mail-1.14.1-9.module+el8.0.0+4108+af250afe.x86_64
nginx-mod-stream-1.14.1-9.module+el8.0.0+4108+af250afe.x86_64
php-bcmath-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64
php-common-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64
php-fpm-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64
php-gd-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64
php-json-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64
php-ldap-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64
php-mbstring-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64
php-pdo-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64
php-pgsql-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64
php-xml-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64
zabbix-agent-6.0.7-1.el8.x86_64
zabbix-get-6.0.7-1.el8.x86_64
zabbix-nginx-conf-6.0.7-1.el8.noarch
zabbix-sender-6.0.7-1.el8.x86_64
zabbix-server-pgsql-6.0.7-1.el8.x86_64
zabbix-web-6.0.7-1.el8.noarch
zabbix-web-deps-6.0.7-1.el8.noarch
zabbix-web-pgsql-6.0.7-1.el8.noarch
zabbix-web-service-6.0.7-1.el8.x86_64OS: Red Hat Enterprise Linux release 8.6 (Ootpa) NGINX: nginx version: nginx/1.14.1 PHP: php 7.2.24.1 PHP-FPM: also 7.2.24.1 nginx-1.14.1-9.module+el8.0.0+4108+af250afe.x86_64 nginx-all-modules-1.14.1-9.module+el8.0.0+4108+af250afe.noarch nginx-filesystem-1.14.1-9.module+el8.0.0+4108+af250afe.noarch nginx-mod-http-image-filter-1.14.1-9.module+el8.0.0+4108+af250afe.x86_64 nginx-mod-http-perl-1.14.1-9.module+el8.0.0+4108+af250afe.x86_64 nginx-mod-http-xslt-filter-1.14.1-9.module+el8.0.0+4108+af250afe.x86_64 nginx-mod-mail-1.14.1-9.module+el8.0.0+4108+af250afe.x86_64 nginx-mod-stream-1.14.1-9.module+el8.0.0+4108+af250afe.x86_64 php-bcmath-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64 php-common-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64 php-fpm-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64 php-gd-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64 php-json-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64 php-ldap-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64 php-mbstring-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64 php-pdo-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64 php-pgsql-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64 php-xml-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64 zabbix-agent-6.0.7-1.el8.x86_64 zabbix-get-6.0.7-1.el8.x86_64 zabbix-nginx-conf-6.0.7-1.el8.noarch zabbix-sender-6.0.7-1.el8.x86_64 zabbix-server-pgsql-6.0.7-1.el8.x86_64 zabbix-web-6.0.7-1.el8.noarch zabbix-web-deps-6.0.7-1.el8.noarch zabbix-web-pgsql-6.0.7-1.el8.noarch zabbix-web-service-6.0.7-1.el8.x86_64
When clicking report → audit in the menu, Zabbix return a blank page.
NGINX log:
2022/09/12 11:40:54 [error] 3488829#0: *341117 FastCGI sent in stderr: "PHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /usr/share/zabbix/include/classes/helpers/CPagerHelper.php on line 43 PHP message: PHP Warning: array_slice() expects parameter 1 to be array, boolean given in /usr/share/zabbix/include/classes/helpers/CPagerHelper.php on line 54 PHP message: PHP Fatal error: Uncaught TypeError: Argument 1 passed to CControllerAuditLogList::sanitizeDetails() must be of the type array, null given, called in /usr/share/zabbix/app/controllers/CControllerAuditLogList.php on line 169 and defined in /usr/share/zabbix/app/controllers/CControllerAuditLogList.php:303 Stack trace: #0 /usr/share/zabbix/app/controllers/CControllerAuditLogList.php(169): CControllerAuditLogList->sanitizeDetails(NULL) #1 /usr/share/zabbix/include/classes/mvc/CController.php(465): CControllerAuditLogList->doAction() #2 /usr/share/zabbix/include/classes/core/ZBase.php(530): CController->run() #3 /usr/share/zabbix/include/classes/core/ZBase.php(210): ZBase->processRequest(Object(CRouter)) #4 /usr/share/zabbix/include/config.inc.php(25): ZBase->run('default') #5 /usr/share/zabbix/zabbix.php(22): require_once('/usr/share/zabb...') #6 {main} thrown in /usr/share/zabbix/app/controllers/CControllerAuditLogList.php on line 303" while reading response header from upstream, client: IP, server: DNC_NAME, request: "GET /zabbix.php?action=auditlog.list HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/zabbix.sock:", host: "DNC_NAME", referrer: "https://DNS_NAME/zabbix.php?action=dashboard.view" 2022/09/12 11:40:56 [error] 3488829#0: *340176 FastCGI sent in stderr: "PHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /usr/share/zabbix/include/classes/helpers/CPagerHelper.php on line 43 PHP message: PHP Warning: array_slice() expects parameter 1 to be array, boolean given in /usr/share/zabbix/include/classes/helpers/CPagerHelper.php on line 54 PHP message: PHP Fatal error: Uncaught TypeError: Argument 1 passed to CControllerAuditLogList::sanitizeDetails() must be of the type array, null given, called in /usr/share/zabbix/app/controllers/CControllerAuditLogList.php on line 169 and defined in /usr/share/zabbix/app/controllers/CControllerAuditLogList.php:303 Stack trace: #0 /usr/share/zabbix/app/controllers/CControllerAuditLogList.php(169): CControllerAuditLogList->sanitizeDetails(NULL) #1 /usr/share/zabbix/include/classes/mvc/CController.php(465): CControllerAuditLogList->doAction() #2 /usr/share/zabbix/include/classes/core/ZBase.php(530): CController->run() #3 /usr/share/zabbix/include/classes/core/ZBase.php(210): ZBase->processRequest(Object(CRouter)) #4 /usr/share/zabbix/include/config.inc.php(25): ZBase->run('default') #5 /usr/share/zabbix/zabbix.php(22): require_once('/usr/share/zabb...') #6 {main} thrown in /usr/share/zabbix/app/controllers/CControllerAuditLogList.php on line 303" while reading response header from upstream, client: IP, server: DNC_NAME, request: "GET /zabbix.php?action=auditlog.list HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/zabbix.sock:", host: "DNC_NAME", referrer: "https://DNS_NAME/zabbix.php?action=dashboard.view"