rbicelli / pfsense-zabbix-template

Zabbix Template for pfSense
Apache License 2.0
238 stars 107 forks source link

PHP Errors #138

Closed JeanBuchweitz closed 7 months ago

JeanBuchweitz commented 1 year ago

please help

PHP errors PHP ERROR: Type: 1, File: /root/scripts/pfsense_zbx.php, Line: 976, Message: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /root/scripts/pfsense_zbx.php:976 Stack trace:

0 /root/scripts/pfsense_zbx.php(1022): pfz_dhcp_get('failover')

1 /root/scripts/pfsense_zbx.php(1035): pfz_dhcp_check_failover()

2 /root/scripts/pfsense_zbx.php(1323): pfz_dhcp('failover', NULL)

3 {main}

thrown @ 2023-03-12 12:53:09

rbicelli commented 7 months ago

Duplicate of #135