Bug#1031825: [Pkg-nagios-devel] Bug#1031825: icinga-php-library: Creation of dynamic property is deprecated in PHP 8.2
Sebastiaan Couwenberg schreef op 2023-02-23 17:59: 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? Yes: my icingadb resource has: skip_validation = "0" This was set by the icingaweg2 setup: there is an option "Skip validation" which ignores any errors if it cannot connect to the database. Some screenshots with this option are here: https://github.com/Icinga/icingaweb2/issues/4291 Anyway, I temporarily used this option during the setup but I don't need this any more so I removed it. The errors are gone now and everything works as expected. -- Frederik Himpe Vrije Universiteit Brussel
Bug#1031825: [Pkg-nagios-devel] Bug#1031825: icinga-php-library: Creation of dynamic property is deprecated in PHP 8.2
Hi Frederik, Resending with correct Reply-To header. On 2/23/23 17:55, Frederik Himpe wrote: Sebastiaan Couwenberg schreef op 2023-02-23 17:45: 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 No, I'm not using any of the icinga2-ido-* packages, I am using icingadb with icingadb-web instead. What about my other question? " 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. " Please check /etc/icingaweb2/resources.ini. Kind Regards, Bas -- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
Bug#1031825: [Pkg-nagios-devel] Bug#1031825: icinga-php-library: Creation of dynamic property is deprecated in PHP 8.2
(Sorry for the double post, sending this to the bug report too.) Sebastiaan Couwenberg schreef op 2023-02-23 17:45: 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 No, I'm not using any of the icinga2-ido-* packages, I am using icingadb with icingadb-web instead. -- Frederik Himpe Vrije Universiteit Brussel
Bug#1031825: [Pkg-nagios-devel] Bug#1031825: icinga-php-library: Creation of dynamic property is deprecated in PHP 8.2
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