Project

General

Profile

Bug #8732

PHP7 errors in DHCP

Added by Anonymous over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
08/01/2018
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.4.4
Affected Architecture:

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

Associated revisions

Revision 8a228b83 (diff)
Added by Stephen Jones over 1 year ago

Fixes #8732 PHP7 illegal string offsets

History

#1 Updated by Anonymous over 1 year ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

#2 Updated by James Dekker over 1 year ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF