[Pkg-nagios-devel] Bug#1031825: Bug#1031825: icinga-php-library: Creation of dynamic property is deprecated in PHP 8.2
Sebastiaan Couwenberg
sebastic at xs4all.nl
Thu Feb 23 16:45:21 GMT 2023
Control: tags -1 moreinfo
Hi Frederik,
On 2/23/23 17:05, Frederik wrote:
> I'm using Debian Bookworm with icinga-php-library 0.10.1-1 and PHP 8.2. When I log in in icingaweb2, I see three times this message in the left sidebar between the search bar in the menu:
> Deprecated: Creation of dynamic property ipl\Sql\Config::$skip_validation is deprecated in /usr/share/icinga-php/ipl/vendor/ipl/sql/src/Config.php on line 32
Are you using icinga2-ido-mysql by chance?
I cannot reproduce the issue with icinga2-ido-pgsql, that setup was used
to develop the PHP 8.2 changes are discussed in the upstream issue:
https://github.com/Icinga/icingaweb2/issues/4918
skip_validation is not a documented resource option:
https://icinga.com/docs/icinga-web/latest/doc/04-Resources/#configuration
You likely have this in /etc/icingaweb2/resources.ini though, can you
confirm that?
Please remove or comment out the setting if you do.
Kind Regards,
Bas
--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
More information about the Pkg-nagios-devel
mailing list