Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-14904

The undefined "hosts_problematic_count" and "hosts_total_count" indexes in Dashboard

XMLWordPrintable

    • Team B
    • Sprint 43, Sprint 44, Sprint 45, Sprint 46, Nov 2018
    • 0.125

      There are several undefined indexes in the Dashboard:

      Argument 1 passed to CArrayHelper::sort() must be of the type array, null given, called in /usr/share/zabbix/app/controllers/CControllerWidgetProblemHostsView.php on line 217 and defined [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerWidgetProblemHostsView->doAction() → CArrayHelper::sort() in include/classes/helpers/CArrayHelper.php:124]
      uasort() expects parameter 1 to be array, null given [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerWidgetProblemHostsView->doAction() → CArrayHelper::sort() → uasort() in include/classes/helpers/CArrayHelper.php:131]
      Argument 1 passed to CArrayHelper::sort() must be of the type array, null given, called in /usr/share/zabbix/app/controllers/CControllerWidgetProblemHostsView.php on line 220 and defined [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerWidgetProblemHostsView->doAction() → CArrayHelper::sort() in include/classes/helpers/CArrayHelper.php:124]
      uasort() expects parameter 1 to be array, null given [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerWidgetProblemHostsView->doAction() → CArrayHelper::sort() → uasort() in include/classes/helpers/CArrayHelper.php:131]
      Undefined index: hosts_total_count [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() in app/views/monitoring.widget.problemhosts.view.php:72]
      Undefined index: hosts_problematic_count [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() in app/views/monitoring.widget.problemhosts.view.php:72]
      Undefined index: hosts_problematic_count [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() in app/views/monitoring.widget.problemhosts.view.php:95]
      Undefined index: hosts_problematic_count [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() in app/views/monitoring.widget.problemhosts.view.php:106]
      Undefined index: hosts_total_count [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() in app/views/monitoring.widget.problemhosts.view.php:136]

            sasha Alexander Vladishev
            oleg.ivanivskyi Oleg Ivanivskyi
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: