Project

General

Profile

Actions

Bug #8889

closed

Setup Wizard PHP error when LAN has no DHCP configuration

Added by Jim Pingle about 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Start date:
09/12/2018
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.4
Affected Architecture:
All

Description

If you remove LAN and then add it back, then run the Setup Wizard, a PHP error will result.

Removing the LAN removes the DHCP settings, and the way the wizard uses the DHCP settings array, it leads to a PHP error because they are not there.

[12-Sep-2018 19:36:29 Etc/UTC] PHP Warning:  Illegal string offset 'lan' in /usr/local/www/wizard.php(114) : eval()'d code on line 47
[12-Sep-2018 19:36:29 Etc/UTC] PHP Fatal error:  Uncaught Error: Cannot use string offset as an array in /usr/local/www/wizard.php(114) : eval()'d code:47
Stack trace:
#0 /usr/local/www/wizard.php(114): eval()
#1 {main}
  thrown in /usr/local/www/wizard.php(114) : eval()'d code on line 47
Actions

Also available in: Atom PDF