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

Problem-Widgets stopped working

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unsupported version
    • Icon: Trivial Trivial
    • None
    • None
    • Frontend (F)
    • Debian 10, Postgres 13, timescaleDB 2.7.0, nginx 1.14.2, php7.4-fpm 7.4.30
      zabbix 5.4.4 and 5.4.12

      Out of the running and without any interventions suddenly the problem widgets of our dashboards, no matter if existing or newly created, did not work anymore. In the php errorlog the following messages can be found:

       

      [19-Jul-2022 06:28:27 Europe/Berlin] PHP Notice:  Undefined index: items in /usr/share/zabbix/include/classes/macros/CMacrosResolver.php on line 2784
      [19-Jul-2022 06:28:27 Europe/Berlin] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /usr/share/zabbix/include/classes/macros/CMacrosResolver.php on line 2784
      [19-Jul-2022 06:28:27 Europe/Berlin] PHP Notice:  Undefined index: items in /usr/share/zabbix/include/classes/macros/CMacrosResolver.php on line 2784
      [19-Jul-2022 06:28:27 Europe/Berlin] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /usr/share/zabbix/include/classes/macros/CMacrosResolver.php on line 2784
      [19-Jul-2022 06:28:27 Europe/Berlin] PHP Notice:  Undefined index: items in /usr/share/zabbix/include/classes/macros/CMacrosResolver.php on line 2784
      [19-Jul-2022 06:28:27 Europe/Berlin] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /usr/share/zabbix/include/classes/macros/CMacrosResolver.php on line 2784
      [19-Jul-2022 06:28:27 Europe/Berlin] PHP Notice:  Undefined index: items in /usr/share/zabbix/include/classes/macros/CMacrosResolver.php on line 2784
      [19-Jul-2022 06:28:27 Europe/Berlin] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /usr/share/zabbix/include/classes/macros/CMacrosResolver.php on line 2784
      [19-Jul-2022 06:28:27 Europe/Berlin] PHP Notice:  Undefined index: items in /usr/share/zabbix/include/classes/macros/CMacrosResolver.php on line 2821
      [19-Jul-2022 06:28:27 Europe/Berlin] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /usr/share/zabbix/include/classes/macros/CMacrosResolver.php on line 2821
      [19-Jul-2022 06:28:27 Europe/Berlin] PHP Notice:  Undefined index: items in /usr/share/zabbix/include/classes/macros/CMacrosResolver.php on line 2821
      [19-Jul-2022 06:28:27 Europe/Berlin] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /usr/share/zabbix/include/classes/macros/CMacrosResolver.php on line 2821
      [19-Jul-2022 06:28:27 Europe/Berlin] PHP Notice:  Undefined index: items in /usr/share/zabbix/include/classes/macros/CMacrosResolver.php on line 2821
      [19-Jul-2022 06:28:27 Europe/Berlin] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /usr/share/zabbix/include/classes/macros/CMacrosResolver.php on line 2821
      [19-Jul-2022 06:28:27 Europe/Berlin] PHP Notice:  Undefined index: items in /usr/share/zabbix/include/classes/macros/CMacrosResolver.php on line 2821
      [19-Jul-2022 06:28:27 Europe/Berlin] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /usr/share/zabbix/include/classes/macros/CMacrosResolver.php on line 2821
      [19-Jul-2022 06:28:27 Europe/Berlin] PHP Notice:  Undefined index: items in /usr/share/zabbix/include/classes/screens/CScreenProblem.php on line 591
      [19-Jul-2022 06:28:27 Europe/Berlin] PHP Fatal error:  Uncaught TypeError: Argument 1 passed to CMacrosResolverHelper::resolveItemNames() must be of the type array, null given, called in /usr/share/zabbix/include/classes/screens/CScreenProblem.php on line 591 and defined
      in /usr/share/zabbix/include/classes/macros/CMacrosResolverHelper.php:538
      Stack trace:
      #0 /usr/share/zabbix/include/classes/screens/CScreenProblem.php(591): CMacrosResolverHelper::resolveItemNames()
      #1 /usr/share/zabbix/app/controllers/CControllerWidgetProblemsView.php(69): CScreenProblem::makeData()
      #2 /usr/share/zabbix/include/classes/mvc/CController.php(390): CControllerWidgetProblemsView->doAction()
      #3 /usr/share/zabbix/include/classes/core/ZBase.php(525): CController->run()
      #4 /usr/share/zabbix/include/classes/core/ZBase.php(209): ZBase->processRequest()
      #5 /usr/share/zabbix/include/config.inc.php(25): ZBase->run()
      #6 /usr/share/zabbix/zabbix.php(22): require_once('/usr/share/zabb...')
      #7 {main}
        thrown in /usr/share/zabbix/include/classes/macros/CMacrosResolverHelper.php on line 538 

            elina.kuzyutkina Elina Kuzyutkina (Inactive)
            plexus Florian Requardt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: