[ZBX-5416] Undefined index when deleting an item Created: 2012 Aug 04  Updated: 2017 May 30  Resolved: 2012 Aug 11

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.0.2
Fix Version/s: 2.0.3rc1, 2.1.0

Type: Incident report Priority: Trivial
Reporter: Alain Ganuchaud (Inactive) Assignee: Unassigned
Resolution: Duplicate Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Debian Squeeze
Mysql 5.1.63
Zabbix 2.0.2


Issue Links:
Duplicate
duplicates ZBX-5108 "Zabbix Admin" has no permission to c... Closed

 Description   

I produced this error when I clone an item then I delete it.
The problem occurs with frontend 2.0.2 but doesn't occur with frontend 2.0.1.

Tell me if you want more info.
Thanks Alain

Error produced by frontend 2.0.2, the item is deleted but this error appears (supprimé is the french word for deleted, Elément is the french word for item)

Supprimé: Élément "GigabitEthernet0/1-IN" sur "Cisco 2960-24G".
Undefined index: 36094 [items.php:633]
reset() expects parameter 1 to be array, null given [items.php:634]
Undefined index: key_ [items.php:636]
Undefined index: itemid [items.php:636]
Undefined index: 36095 [items.php:633]
reset() expects parameter 1 to be array, null given [items.php:634]
Undefined index: key_ [items.php:636]
Undefined index: itemid [items.php:636]
Undefined index: 36096 [items.php:633]
reset() expects parameter 1 to be array, null given [items.php:634]
Undefined index: key_ [items.php:636]
Undefined index: itemid [items.php:636]
Undefined index: 36097 [items.php:633]
reset() expects parameter 1 to be array, null given [items.php:634]
Undefined index: key_ [items.php:636]
Undefined index: itemid [items.php:636]
Undefined index: 36098 [items.php:633]
reset() expects parameter 1 to be array, null given [items.php:634]
Undefined index: key_ [items.php:636]
Undefined index: itemid [items.php:636]
Undefined index: 36099 [items.php:633]
reset() expects parameter 1 to be array, null given [items.php:634]
Undefined index: key_ [items.php:636]
Undefined index: itemid [items.php:636]
Undefined index: 36100 [items.php:633]
reset() expects parameter 1 to be array, null given [items.php:634]
Undefined index: key_ [items.php:636]
Undefined index: itemid [items.php:636]
Undefined index: 36101 [items.php:633]
reset() expects parameter 1 to be array, null given [items.php:634]
Undefined index: key_ [items.php:636]
Undefined index: itemid [items.php:636]
Undefined index: 36102 [items.php:633]
reset() expects parameter 1 to be array, null given [items.php:634]
Undefined index: key_ [items.php:636]
Undefined index: itemid [items.php:636]
Undefined index: 36103 [items.php:633]
reset() expects parameter 1 to be array, null given [items.php:634]
Undefined index: key_ [items.php:636]
Undefined index: itemid [items.php:636]
Undefined index: 36104 [items.php:633]
reset() expects parameter 1 to be array, null given [items.php:634]
Undefined index: key_ [items.php:636]
Undefined index: itemid [items.php:636]
Undefined index: 36105 [items.php:633]
reset() expects parameter 1 to be array, null given [items.php:634]
Undefined index: key_ [items.php:636]
Undefined index: itemid [items.php:636]
Undefined index: 36106 [items.php:633]
reset() expects parameter 1 to be array, null given [items.php:634]
Undefined index: key_ [items.php:636]
Undefined index: itemid [items.php:636]



 Comments   
Comment by Robert Walker [ 2012 Aug 08 ]

We appear to have this same issue as well. Hadn't realised it was related to cloned hosts, but many of ours are, so it would make sense.

Comment by Alexander Vladishev [ 2012 Aug 11 ]

Fixed with ZBX-5108 in pre-2.0.3 r29361 and pre-2.1.0 (trunk) r29378.

Generated at Fri Jan 10 13:58:44 EET 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.