Project

General

Profile

Actions

Bug #9582

closed

PHP error setting up VLANs from the console

Added by Jim Pingle almost 5 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Interfaces
Target version:
Start date:
06/11/2019
Due date:
% Done:

100%

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

Description

If a config contains <vlans></vlans> then setting up VLANs at the console may fail with a PHP error:

[10-Jun-2019 07:52:19 Europe/Berlin] PHP Fatal error: Uncaught Error: Cannot use string offset as an array in /etc/inc/config.console.inc:499
Stack trace:
#0 /etc/inc/config.console.inc(103): vlan_setup()
#1 /etc/rc.initial.setports(37): set_networking_interfaces_ports()
#2 {main}
thrown in /etc/inc/config.console.inc on line 499
[10-Jun-2019 07:52:39 Europe/Berlin] PHP Fatal error: Uncaught Error: Cannot use string offset as an array in /etc/inc/config.console.inc:499
Stack trace:
#0 /etc/inc/config.console.inc(103): vlan_setup()
#1 /etc/rc.initial.setports(37): set_networking_interfaces_ports()
#2 {main}
thrown in /etc/inc/config.console.inc on line 499
Actions

Also available in: Atom PDF