Ad Widget

Collapse

Fatal error while editing template items

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rootetsy
    Junior Member
    • Jan 2020
    • 4

    #1

    Fatal error while editing template items

    Hi All,

    I'm on CentOS 7 and running Zabbix 4.0.23. I was going to edit one of my templates when I ran into a problem. If I click on Items in the following screenshot then it just shows a blank screen.

    Click image for larger version

Name:	2020-08-01_10-01.png
Views:	473
Size:	51.1 KB
ID:	406266

    The issue happens on all templates and here is the error seen in the logs for the problem.

    Code:
    [Sat Aug 01 14:56:38.769068 2020] [:error] [pid 1481] [client <IP>:53470] PHP Fatal error: Call to undefined function array_column() in /usr/share/zabbix/items.php on line 2025, referer: https://<URL>/zabbix/templates.php?ddreset=1
    Any ideas what could be the problem?

    Thanks!
  • DasMonster
    Junior Member
    • Aug 2020
    • 1

    #2
    Hi all,

    the same to me. Zabbix has been upgraded to 4.0.23 recently and have the same issue now.
    Any thoughts?

    Kind regards,
    Alexander.

    Comment

    • Atsushi
      Senior Member
      • Aug 2013
      • 2028

      #3
      It seems to be a bug.

      ZBX-18160 : Zabbix release 4.0.23 items.php issue

      ZBX-18157 : items.php returns 500 status in CentOS 7

      Comment

      • Gustavo Vargas
        Junior Member
        • Aug 2020
        • 1

        #4
        Hola , al actualizar Zabbix a 4.023 me daba ese error, tengo centos 7.8 y php 5.4 , actualize el PHP a 7.4 y el error desapareció; esto es la función en falla (array_colum()) ,es de PHP y no esta disponible para PHP menor a 5.5

        Comment

        Working...