Closed jprusch closed 1 year ago
I fixed this in master, just need someone to test it if it still works with php version 7.x first before i release it
I can confirm that the fix works with PHP 8.0.8. I cannot test with PHP 7.
I fixed this in master, just need someone to test it if it still works with php version 7.x first before i release it
Any particular PHP 7 Version? Could run a docker testbuild with PHP 7.4
Any version 7 should do it
Tested with:
Debian GNU/Linux 10 (buster)
PHP 7.4.21
Icingaweb 2.9.2
Configuration page + Graphs work fine.
Worked with PHP 7.4 and 8.0.
This change should worked regardless of php version.
Getting this error with:
Rocky Linux 8.5
PHP 8.0.16
icingaweb2 2.9.5
Got the same issue on one nearly up to date system:
## debian 11 with php8.0
Icinga Web 2 Version 2.11.1
PHP Version 8.0.22
icinga/icinga-php-library 0.9.1
icinga/icinga-php-thirdparty 0.11.0
businessprocess 2.4.0
director 1.8.1
grafana 1.4.2
idoreports 0.10.0
incubator 0.18.0
migrate 2.11.1
monitoring 2.11.1
pdfexport 0.10.2
reporting 0.10.0
vspheredb 1.4.0
x509 1.1.2
after checking out the master branch (version: 1.4.3) the issue doesn't occur again
On an older System i don't faced this issue
## debian 10 with php7.3
Icinga Web 2 Version 2.11.1
PHP Version 7.3.31-1~deb10u1
icinga/icinga-php-library 0.9.1
icinga/icinga-php-thirdparty 0.11.0
director 1.8.1
doc 2.11.1
grafana 1.4.2
incubator 0.18.0
monitoring 2.11.1
I also get the same error using php 8.0.20 and grafana module verison 1.4.2 : Uncaught ArgumentCountError: array_merge() does not accept unknown named parameters in /usr/share/icingaweb2/modules/grafana/library/Grafana/Helpers/Timeranges.php:137
Master branch works with php8. Is there a new release soon?
Vrsion 2.0.0 will be fully support php 8.x
After upgrading Icinga Web to 2.9.0 and PHP to 8.0.8 I cannot configure the Grafana module anymore.
The following stack trace is displayed when clicking on Configuration in module Grafana settings:
Expected Behavior
Configuration dialog is display
Current Behavior
Stacktrace is displayed
Steps to Reproduce (for bugs)
Your Environment
icinga2 --version
): 2.12.4-1icinga2 feature list
): api checker command icingadb ido-mysql influxdb mainlog notificationicinga2 daemon -C
): OK