Actions
Bug #9582
closedPHP error setting up VLANs from the console
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
Updated by Jim Pingle over 5 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset 45f95753963e497b5ce14493f9cca05336d75c7b.
Updated by Jim Pingle about 5 years ago
- Target version changed from 2.5.0 to 2.4.5
Updated by Jim Pingle almost 5 years ago
- Status changed from Resolved to Feedback
Needs checked and/or tested again on 2.4.5 snapshots
Updated by Jim Pingle almost 5 years ago
- Status changed from Feedback to Resolved
No errors on 2.4.5.a.20191220.0501 when starting with the stated problem config.
Actions