Project

General

Profile

Actions

Bug #9582

closed

PHP error setting up VLANs from the console

Added by Jim Pingle over 5 years ago. Updated almost 5 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 #1

Updated by Jim Pingle over 5 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #2

Updated by Jim Pingle about 5 years ago

  • Status changed from Feedback to Resolved
Actions #3

Updated by Jim Pingle almost 5 years ago

  • Target version changed from 2.5.0 to 2.4.5
Actions #4

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

Actions #5

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

Also available in: Atom PDF