Ad Widget

Collapse

Zabbix 5.2.5 + php 7.4 PHP Fatal error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Frederico
    Junior Member
    • Jun 2010
    • 9

    #1

    Zabbix 5.2.5 + php 7.4 PHP Fatal error

    Running zabbix 5.2.5 with php 7.4 i have this error

    [Sun Mar 07 08:21:42.102311 2021] [php7:error] [pid 6286] [client XXX.XXX.XXX:42874] PHP Fatal error: Uncaught Error: Unsupported operand types in /srv/www/zabbix-5.2.5/include/classes/helpers/CSettingsHelper.php:99\nStack trace:\n#0 /srv/www/zabbix-5.2.5/include/classes/helpers/CConfigGeneralHelper.php(47): CSettingsHelper::loadParams()\n#1 /srv/www/zabbix-5.2.5/app/controllers/CControllerNotificationsGet.php(32): CConfigGeneralHelper::get()\n#2 /srv/www/zabbix-5.2.5/include/classes/mvc/CController.php(64): CControllerNotificationsGet->init()\n#3 /srv/www/zabbix-5.2.5/include/classes/core/ZBase.php(515): CController->__construct()\n#4 /srv/www/zabbix-5.2.5/include/classes/core/ZBase.php(211): ZBase->processRequest()\n#5 /srv/www/zabbix-5.2.5/include/config.inc.php(25): ZBase->run()\n#6 /srv/www/zabbix-5.2.5/zabbix.php(22): require_once('/srv/www/zabbix...')\n#7 {main}\n thrown in /srv/www/zabbix-5.2.5/include/classes/helpers/CSettingsHelper.php on line 99, referer: https://srv-mon-01.ispti.com.br/zabb...dashboard.view

    php7.4 -v
    PHP 7.4.16 (cli) (built: Mar 5 2021 08:36:10) ( NTS )
    Copyright (c) The PHP Group
    Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.16, Copyright (c), by Zend Technologies

    Not the same, but i try follow

    without success

    Try disable opcache.enable=0
    and change "opcache.optimization_level" parameter to 0x7FFFBFDF


    Any ideias or solutions ?

Working...