Ad Widget

Collapse

Error 500 when entering any dashboard after upgrading to zabbix 7.4

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • rem2
    Junior Member
    • Jul 2016
    • 4

    #1

    Error 500 when entering any dashboard after upgrading to zabbix 7.4

    I just discovered that after updateing Zaibbix to 7.4 i cant enter any dashboards, php 8.4 fpm
    Here's error from apache logs :

    [Fri Jul 11 13:00:29.772791 2025] [proxy_fcgi:error] [pid 1475764:tid 1475764] [client 10.0.105.10:48566] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError: CArrayHelper::sort(): Argument #1 ($array) must be of type array, null given, called in /usr/share/zabbix/ui/include/classes/helpers/CDashboardHelper.php on line 72 and defined in /usr/share/zabbix/ui/include/classes/helpers/CArrayHelper.php:153\nStack trace:\n#0 /usr/share/zabbix/ui/include/classes/helpers/CDashboardHelper.php(72): CArrayHelper::sort()\n#1 /usr/share/zabbix/ui/app/controllers/CControllerHostDashboardView.php(96): CDashboardHelper:reparePages()\n#2 /usr/share/zabbix/ui/include/classes/mvc/CController.php(569): CControllerHostDashboardView->doAction()\n#3 /usr/share/zabbix/ui/include/classes/core/ZBase.php(648): CController->run()\n#4 /usr/share/zabbix/ui/include/classes/core/ZBase.php(228): ZBase->processRequest()\n#5 /usr/share/zabbix/ui/include/config.inc.php(20): ZBase->run()\n#6 /usr/share/zabbix/ui/zabbix.php(17): require_once('...')\n#7 {main}\n thrown in /usr/share/zabbix/ui/include/classes/helpers/CArrayHelper.php on line 153', referer: https://zabbix.usos.uj.edu.pl/zabbix...status=0&evalt ype=0&tags%5B0%5D%5Btag%5D=&tags%5B0%5D%5Boperator %5D=0&tags%5B0%5D%5Bvalue%5D=&maintenance_status=1 &filter_name=&filter_show_counter=0&filter_cust om_ time=0&sort=name&sortorder=ASC&show_suppressed=0&a ction=host.view
  • Answer selected by rem2 at 18-07-2025, 09:54.
    rem2
    Junior Member
    • Jul 2016
    • 4

    It seems there was data corruption issue most likely from migrating db that created duplicated rows in dashboards table, dupes removed and its working fine again.

    Comment

    • Markku
      Senior Member
      Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
      • Sep 2018
      • 1781

      #2
      Is this similar to https://support.zabbix.com/browse/ZBX-26691 (Dashboards blank after upgrade from 7.2.10 -> 7.4.0) , if so, watch that for input or updates.

      Markku

      Comment


      • rem2
        rem2 commented
        Editing a comment
        Hi it seems different, I'm having php errors before anything is rendered at all while the linked is about JavaScript issues.
    • rem2
      Junior Member
      • Jul 2016
      • 4

      #3
      It seems there was data corruption issue most likely from migrating db that created duplicated rows in dashboards table, dupes removed and its working fine again.

      Comment

      Working...