Bug #8732
closedPHP7 errors in DHCP
100%
Description
The following errors were found while doing some tests with the captive portal.
Warning: Illegal string offset 'lan' in /usr/local/www/services_dhcp.php on line 517
Warning: Illegal string offset 'range' in /usr/local/www/services_dhcp.php on line 531
Warning: Illegal string offset 'enable' in /usr/local/www/services_dhcp.php on line 545
Warning: Illegal string offset 'staticarp' in /usr/local/www/services_dhcp.php on line 546
Warning: Cannot assign an empty string to a string offset in /usr/local/www/services_dhcp.php on line 546
Warning: Illegal string offset 'failover_peerip' in /usr/local/www/services_dhcp.php on line 552
Warning: Cannot assign an empty string to a string offset in /usr/local/www/services_dhcp.php on line 552
Warning: Invalid argument supplied for foreach() in /usr/local/www/services_dhcp.php on line 554
Warning: Illegal string offset 'range' in /usr/local/www/services_dhcp.php on line 563 Fatal error: Uncaught Error: Cannot use string offset as an array in /usr/local/www/services_dhcp.php:563 Stack trace: #0 {main} thrown in /usr/local/www/services_dhcp.php on line 563 PHP ERROR: Type: 1, File: /usr/local/www/services_dhcp.php, Line: 563, Message: Uncaught Error: Cannot use string offset as an array in /usr/local/www/services_dhcp.php:563 Stack trace: #0 {main} thrown