Closed JeanBuchweitz closed 7 months 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:
thrown @ 2023-03-12 12:53:09
Duplicate of #135
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