[ZBX-11930] [Patch] Undefined index: lastEvent [zabbix.php:21 Created: 2017 Mar 16 Updated: 2018 Jan 29 Resolved: 2017 Mar 20 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 3.2.4 |
Fix Version/s: | None |
Type: | Incident report | Priority: | Trivial |
Reporter: | Andrew Martin | Assignee: | Unassigned |
Resolution: | Duplicate | Votes: | 0 |
Labels: | frontend, patch, trivial | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: |
![]() |
||||||||
Issue Links: |
|
Description |
The dashboard in the WebUI displays this error message: 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, |
Comments |
Comment by Oleg Egorov (Inactive) [ 2017 Mar 20 ] |
Thank you, but issue was fixed in |
Comment by Stanislav [ 2017 Mar 21 ] |
Thank you! It is a solution!! Works)) |
Comment by doldon doldon doldon [ 2017 Nov 16 ] |
Excuse me |
Comment by Rostislav Palivoda [ 2017 Nov 16 ] |
JIRA documentation - https://confluence.atlassian.com/jira064/attaching-a-file-720416227.html |
Comment by doldon doldon doldon [ 2017 Nov 16 ] |
Mean |
Comment by Rostislav Palivoda [ 2017 Nov 16 ] |
Comment by doldon doldon doldon [ 2017 Nov 16 ] |
Thanks for the answer |
Comment by Ben Mead [ 2018 Jan 29 ] |
Thank you! This solution worked great for me. |