-
Incident report
-
Resolution: Duplicate
-
Trivial
-
None
-
3.2.4
The dashboard in the WebUI displays this error message:
Undefined index: lastEvent [zabbix.php:21 ? require_once() ? ZBase->run() ? ZBase->processRequest() ? CView->getOutput() ? include() ? make_latest_issues() ? make_popup_eventlist() in include/events.inc.php:441]
This simple patch fixes the error:
--- /tmp/events.inc.php 2017-03-16 08:30:19.284449638 -0500 +++ /usr/share/zabbix/include/events.inc.php 2017-03-16 08:24:10.538594536 -0500 @@ -438,7 +438,7 @@ $table->setHeader([_('Time'), _('Status'), _('Duration'), _('Age')]); } - if ($trigger['lastEvent']) { + if (isset($trigger['lastEvent']) && $trigger['lastEvent']) { $events = API::Event()->get([ 'source' => EVENT_SOURCE_TRIGGERS, 'object' => EVENT_OBJECT_TRIGGER,
- is duplicated by
-
ZBX-11877 Undefined index in screens
- Closed