Cacti / plugin_webseer

Cacti Web Services Monitoring Plugin
GNU General Public License v2.0
8 stars 9 forks source link

WEBSEER latest PHP 8.x strict typing error during installation in develop branch #57

Open anarkia1976 opened 1 year ago

anarkia1976 commented 1 year ago

Hi support,

php error after first install of the plugin:

2023-05-26 14:20:01 - PHP ERROR Backtrace: (/plugins/webseer/poller_webseer.php[93]:plugin_webseer_register_server(), /plugins/webseer/poller_webseer.php[196]:CactiErrorHandler())
2023-05-26 14:20:01 - ERROR PHP DEPRECATED in Plugin 'webseer': Automatic conversion of false to array is deprecated in file: /var/www/html/cacti/plugins/webseer/poller_webseer.php on line: 196

OS: ubunt 22.04 PHP: 8.1.2 CACTI: 1.3 latest

thanks a lot. stefano.

anarkia1976 commented 1 year ago

Hi Guys,

The problem is present also in cacti 1.2.x latest source with PHP 8.1.2.

thanks a lot.

TheWitness commented 1 year ago

Yea, interesting bug 'behavior'.

TheWitness commented 1 year ago

Should be fixed now.