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

getting "Invalid argument supplied for foreach() " errors on screen view when logged in with zabbix-user user

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Trivial Trivial
    • None
    • 1.8.15
    • Frontend (F)
    • CentOS 5.3

      As a system super administor, I set a screen for my customer, and created a zabbix user with limited permissions (user type: zabbix user) for him, almost every thing on frontend is ok, but on screen view, there always have many errors on the bottom of the page, that are:
      Undefined offset: 4 [api/classes/class.cscreen.php:361]
      Invalid argument supplied for foreach() [api/classes/class.cscreen.php:361]
      Undefined index: 10 [api/classes/class.cscreen.php:361]
      Invalid argument supplied for foreach() [api/classes/class.cscreen.php:361]
      Undefined offset: 9 [api/classes/class.cscreen.php:361]
      Invalid argument supplied for foreach() [api/classes/class.cscreen.php:361]
      Undefined offset: 10 [api/classes/class.cscreen.php:361]
      Invalid argument supplied for foreach() [api/classes/class.cscreen.php:361]
      Undefined offset: 4 [api/classes/class.cscreen.php:361]
      Invalid argument supplied for foreach() [api/classes/class.cscreen.php:361]
      Undefined index: 7 [api/classes/class.cscreen.php:361]
      Invalid argument supplied for foreach() [api/classes/class.cscreen.php:361]
      Undefined offset: 9 [api/classes/class.cscreen.php:361]
      Invalid argument supplied for foreach() [api/classes/class.cscreen.php:361]
      ......
      ......

      If I change this user's type to zabbix super admin, no error found, but I don't want him to be a super admin in my system.

            Unassigned Unassigned
            wenbo Wenbo Wang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: