[ZBX-2191] "Undefined index" in Dashboard if having a broken trigger in the db Created: 2010 Mar 17  Updated: 2017 May 30  Resolved: 2010 Mar 24

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 1.9.0 (alpha)
Fix Version/s: 1.8.2

Type: Incident report Priority: Major
Reporter: For@ll Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

debian 5.0 , postgresql 8.3 , php-5.2.13, GUI (svn: 10896)



 Description   

When I logged and use dashboard I have this error:

  • Undefined index: [/var/www/zabbixdev/include/blocks.inc.php:720]
  • Invalid argument supplied for foreach()[/var/www/zabbixdev/include/blocks.inc.php:720]
  • Undefined index: [/var/www/zabbixdev/include/blocks.inc.php:743]


 Comments   
Comment by Alexei Vladishev [ 2010 Mar 22 ]

I cannot confirm it with 10958.

Comment by richlv [ 2010 Mar 22 ]

unfortunately, i can confirm :/
seems to happen when last 20 issues block is empty

Comment by richlv [ 2010 Mar 22 ]

new line numbers in trunk rev 10958 :

Undefined index: [/usr/local/apache2/htdocs/trunk/include/blocks.inc.php:719]
Invalid argument supplied for foreach()[/usr/local/apache2/htdocs/trunk/include/blocks.inc.php:719]
Undefined index: [/usr/local/apache2/htdocs/trunk/include/blocks.inc.php:742]

Comment by richlv [ 2010 Mar 23 ]

caused by an incorrect trigger in the db (triggerid 12201)

Comment by Artem Suharev (Inactive) [ 2010 Mar 24 ]

Fixed directly in 1.8 & trunk branches. Rev. 11056

Generated at Sat Apr 20 16:03:18 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.