-
Incident report
-
Resolution: Duplicate
-
Major
-
None
-
3.0.0alpha3
-
None
-
pre-zabbix-3.0.0alpha3-55645
Nginx 1.9.4
PHP 7.0.0 RC3 (PHP-FPM)
MySQL 5.7.8
If an Zabbix admin tryies to mass update a "Host" the following error is thrown:
Fatal error: Uncaught Error: Call to undefined function B() in /var/www/html/zabbix.liaison.prod/include/views/configuration.host.massupdate.php:213 Stack trace: #0 /var/www/html/zabbix.liaison.prod/include/classes/mvc/CView.php(139): include() #1 /var/www/html/zabbix.liaison.prod/hosts.php(1086): CView->render() #2 {main} thrown in /var/www/html/zabbix.liaison.prod/include/views/configuration.host.massupdate.php on line 213
Fixed the issue by removing function "B()" from line 213 in configuration.host.massupdate.php
->addRow([ (new CDiv([ new CLabel( [(new CCheckBox('mass_replace_tpls'))->setChecked($data['mass_replace_tpls'] == 1), _('Replace')], 'mass_replace_tpls' ), B(), <=== LINE 213 new CLabel( [(new CCheckBox('mass_clear_tpls'))->setChecked($data['mass_clear_tpls'] == 1), _('Clear when unlinking')], 'mass_clear_tpls' )
- duplicates
-
ZBX-9884 Mass update doesn't work in the host lists.
- Closed