Package: zabbix-frontend-php
Version: 1:4.0.4+dfsg-1
Severity: normal

Dear Maintainer,

php7.3-opcache raises the following error when accessing to the Zabbix 4 login 
page:

PHP Fatal error:  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/index.php(25): require_once('/usr/share/zabb...')\n#3 
{main}\n  thrown in /usr/share/zabbix/include/classes/core/ZBase.php on line 111

The consequence is a blank login page on the first access. A simple workaround 
consists in reloading the page.
It can also be fixed by disabling opcache in 
/etc/apache2/conf-available/zabbix-frontend-php.conf:

   <IfModule mod_php7.c>
       php_value max_execution_time 300
       php_value memory_limit 128M
       php_value post_max_size 16M
       php_value upload_max_filesize 2M
       php_value max_input_time 300
       php_value date.timezone Europe/Paris
->      php_value opcache.enable 0            <-
   </IfModule>

Best regards,

Pierre

-- System Information:
Debian Release: buster/sid
 APT prefers testing
 APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), 
LANGUAGE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages zabbix-frontend-php depends on:
ii  fonts-dejavu-core               2.37-1
ii  php                             2:7.3+69
ii  php-bcmath                      2:7.3+69
ii  php-gd                          2:7.3+69
ii  php-mbstring                    2:7.3+69
ii  php-mysql                       2:7.3+69
ii  php-xml                         2:7.3+69
ii  php7.3 [php]                    7.3.3-1
ii  php7.3-bcmath [php-bcmath]      7.3.3-1
ii  php7.3-gd [php-gd]              7.3.3-1
ii  php7.3-mbstring [php-mbstring]  7.3.3-1
ii  php7.3-xml [php-xml]            7.3.3-1
ii  ucf                             3.0038+nmu1

Versions of packages zabbix-frontend-php recommends:
ii  apache2 [httpd]                             2.4.38-2
ii  libapache2-mod-php7.3 [libapache2-mod-php]  7.3.3-1
ii  php-ldap                                    2:7.3+69
ii  php7.3-ldap [php-ldap]                      7.3.3-1

zabbix-frontend-php suggests no packages.

-- Configuration Files:
/etc/apache2/conf-available/zabbix-frontend-php.conf changed [not included]

-- no debconf information

Reply via email to