OEL 7.3, Zabbix 4.0.5, PHP 7.3.2 buiil by Remi
The first attempt to load Zabbix dashboard ends with 500 Error
[Tue Feb 26 09:16:56.233645 2019] [php7:error] [pid 17822] [client x.x.x.x:58709] PHP Fatal e
rror: Uncaught Error: Unsupported operand types in /usr/share/zabbix/include/classes/core/ZBase.
php:111\nStack trace:\n#0 /usr/share/zabbix/include/classes/core/ZBase.php(119): ZBase->init()\n#
1 /usr/share/zabbix/include/config.inc.php(33): ZBase->run('default')\n#2 /usr/share/zabbix/jsrpc
.php(42): require_once('/usr/share/zabb...')\n#3 {main}\n thrown in /usr/share/zabbix/include/cl
asses/core/ZBase.php on line 111, referer: http://x.x.x.x /zabbix/zabbix.php?action=dashboard.
view&ddreset=1
The second attempt and all others proceed without any problem.
The problem can be solved by disabling Opcache. (opcache.enable=0)
Comment