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

Undefined offset and Invalid argument supplied in maps.inc.php

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.0
    • Component/s: Frontend (F)
    • Labels:
    • Environment:
      trunk rev 32641.

      Description

      Undefined offset: 10047 [maps.inc.php:1165]
      Invalid argument supplied for foreach() [maps.inc.php:1165]

      whenever i have one of some specific hosts included in a map, that map breaks in monitoring (but not in configuration).

      this might be related to a trigger that uses items from several hosts, but i couldn't reproduce by creating such a config from the scratch

      regression, broken by :

      ------------------------------------------------------------------------
      r32261 | pavels | 2012-12-20 15:15:35 +0200 (Thu, 20 Dec 2012) | 10 lines

      A......... ZBXNEXT-1491 implemented property array support for all get methods
      A......... ZBXNEXT-1491 implemented the map.get selectUrls parameter
      A......... ZBXNEXT-1491 implemented the itemprototype.get selectDiscoveryRule parameter
      A......... ZBXNEXT-1491 fixed alert.get hostids and groupids parameters
      A......... ZBXNEXT-1491 fixed action.get selectConditions and selectOperations returning hashes instead of arrays
      A......... ZBXNEXT-1491 fixed graph.get selectGraphItems returning a hash instead of an array
      A......... ZBXNEXT-1491 fixed item.get selectHosts returning double template objects
      A......... ZBXNEXT-1491 fixed itemprototype.get selectItems not returning web items
      A......... ZBXNEXT-1491 fixed template.get selectTemplates and selectHosts not working with count
      A......... ZBXNEXT-1491 fixed script.get subselects not working when not requesting the groupid and host_access properties

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            richlv richlv
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: