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

PHP Fatal error: Uncaught TypeError: Argument 5 passed to makeTags() must be of the type array, string given

    XMLWordPrintable

Details

    • Problem report
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 4.0.29
    • 6.0 (plan)
    • Frontend (F)
    • None
    • Team B
    • Sprint 74 (Mar 2021), Sprint 75 (Apr 2021), Sprint 76 (May 2021)

    Description

      Something happened and many frontend users started to get this error:

      [Wed Mar 03 11:02:13.962874 2021] [php7:error] [pid 22312] [client 10.80.90.20:38854] PHP Fatal error:  Uncaught TypeError: Argument 5 passed to makeTags() must be of the type array, string given, called in /usr/share/zabbix/include/classes/screens/CScreenProblem.php on line 927 and defined in /usr/share/zabbix/include/events.inc.php:707
      
      Stack trace:
      #0 /usr/share/zabbix/include/classes/screens/CScreenProblem.php(927): makeTags()
      #1 /usr/share/zabbix/jsrpc.php(88): CScreenProblem->get()
      #2 {main}
        thrown in /usr/share/zabbix/include/events.inc.php on line 707,
        referer: https://someone.com/zabbix.php?action=problem.view&page=1&filter_show=2&filter_hostids%5B%5D=49700&filter_application=&filter_name=&filter_severity=0&filter_inventory%5B0%5D%5Bfield%5D=type&filter_inventory%5B0%5D%5Bvalue%5D=&filter_evaltype=0&filter_tags%5B0%5D%5Btag%5D=&filter_tags%5B0%5D%5Boperator%5D=0&filter_tags%5B0%5D%5Bvalue%5D=&filter_show_tags=3&filter_tag_name_format=0&filter_tag_priority=&filter_set=1
      
      [Wed Mar 03 11:02:52.295439 2021] [php7:error] [pid 27355] [client 10.80.90.20:31379] PHP Fatal error:  Uncaught TypeError: 
      Argument 5 passed to makeTags() must be of the type array, string given, called in /usr/share/zabbix/include/classes/screens/CScreenProblem.php on line 927
      and defined in /usr/share/zabbix/include/events.inc.php:707
      
      Stack trace:
      #0 /usr/share/zabbix/include/classes/screens/CScreenProblem.php(927): makeTags()
      #1 /usr/share/zabbix/jsrpc.php(88): CScreenProblem->get()
      #2 {main}
        thrown in /usr/share/zabbix/include/events.inc.php on line 707,
        referer: https://someone.com/zabbix.php?action=problem.view&page=1
      

      (reformatted to multiple lines, for better readability)

      "we get this while accessing dashboard also while accessing zabbix server graphs"

      We tried to visit this URL to reset filters:

      https://someone.com/zabbix.php?action=problem.view&filter_rst=1
      

      but it looks like not helped.
      But later issue disappeared, so maybe it actually helped.

      Not sure how it happened, but it should not.

      Attachments

        Activity

          People

            zabbix.dev Zabbix Development Team
            zalex_ua Oleksii Zagorskyi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: