PHP error in monitorprobe.php on line 310
Posted: Wed Jan 15, 2020 10:21 pm
I'm in the process of installing Zoneminder for the first time and when I try to add cameras using the Probe option I get the following error:-
which looks pretty innocuous.
Installation is Zoneminder 1.32.3 from pkg on FreeBSD 12.1 / nginx 1.16.1_8,2 / MySQL 5.7.28_2 / php72-7.2.26
Cameras are all Dahua IP cams, 2x HDW4631C-A and 2x HDBW4631R-ZS all hooked up using DHCP though I'm not sure that's relevant at this point.
None of the guides I found for installing seemed to be even remotely right so I built my own nginx configs from scratch, which was not ideal but is right as far as I can tell.
The offending line of code is:-Fatal error: Uncaught Error: Unsupported operand types in /usr/local/www/zoneminder/skins/classic/views/monitorprobe.php:310 Stack trace: #0 /usr/local/www/zoneminder/index.php(255): require_once() #1 {main} thrown in /usr/local/www/zoneminder/skins/classic/views/monitorprobe.php on line 310
Code: Select all
$cameras += probeNetwork();
Installation is Zoneminder 1.32.3 from pkg on FreeBSD 12.1 / nginx 1.16.1_8,2 / MySQL 5.7.28_2 / php72-7.2.26
Cameras are all Dahua IP cams, 2x HDW4631C-A and 2x HDBW4631R-ZS all hooked up using DHCP though I'm not sure that's relevant at this point.
None of the guides I found for installing seemed to be even remotely right so I built my own nginx configs from scratch, which was not ideal but is right as far as I can tell.