[ZBX-15934] PHP Fatal error: Call to undefined function boolval() in /usr/share/zabbix/triggers.php on line 751 Created: 2019 Apr 03 Updated: 2019 Apr 23 Resolved: 2019 Apr 03 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 4.2.0rc2 |
Fix Version/s: | 4.2.0rc2 |
Type: | Incident report | Priority: | Trivial |
Reporter: | Mariano Obarrio Miles | Assignee: | Zabbix Support Team |
Resolution: | Fixed | Votes: | 0 |
Labels: | triggers | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Linux zbxssoo02 3.10.0-957.10.1.el7.x86_64 #1 SMP Mon Mar 18 15:06:45 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux |
Attachments: |
![]() ![]() ![]() ![]() |
||||
Issue Links: |
|
Description |
Steps to reproduce:
We updated ZBX from 4.0.5 to 4.2.0 Add some Templates Tags
Configuration -> Hosts -> Triggers -> Filter -> Select any Hosts, the rest of parameters by default and then Apply and no data is displayed, but in Apache log get an error.
/var/log/httpd/error_log [Wed Apr 03 17:26:28.335740 2019] [:error] [pid 8665] [client 10.xxx.xxx.208:35920] PHP Fatal error: Call to undefined function boolval() in /usr/share/zabbix/triggers.php on line 751, referer: http://zabbix.mydomain.com/zabbix/triggers.php?filter_set=1&filter_hostids%5B0%5D=10265
|
Comments |
Comment by Mariano Obarrio Miles [ 2019 Apr 03 ] |
Ok my mistake. We have PHP 5.4.16 and boolval are in PHP 5 >= 5.5.0, PHP 7 |
Comment by Mariano Obarrio Miles [ 2019 Apr 03 ] |
Upgrade PHP from 5.4.16 to 7.3 |
Comment by Aigars Kadikis [ 2019 Apr 09 ] |
Hello Mariano. PHP 5.4 is still supported for Zabbix. This will be fixed in the next minor release. Please follow up Closing as a duplicate now. |