-
Problem report
-
Resolution: Duplicate
-
Trivial
-
None
-
4.0.23
-
CentOS 7
Steps to reproduce:
- Install Zabbix 4.0.23 server and frontend to CentOS 7
- Move "Configuration" -> "Hosts" -> "Items" of any host
Result:
items.php returns 500 status code. See also uploaded picture.
Why:
This is /var/log/httpd/error_log in this situation.
[Wed Jul 29 16:16:01.799344 2020] [:error] [pid 2193] [client 10.2.200.16:53016] PHP Fatal error: Call to undefined function array_column() in /usr/share/zabbix/items.php on line 2025, referer: http://10.2.7.142/zabbix/hosts.php?ddreset=1
The latest PHP version is 5.4.16-48 in CentOS 7.
The array_column() function is used since Zabbix 4.0.23, but the function requires PHP 5.5 or greater (https://www.php.net/manual/en/function.array-column.php).
- duplicates
-
ZBX-18160 Zabbix release 4.0.23 items.php issue
- Closed