Project

General

Profile

Bug #9109

interfaces_qinq_edit.php: PHP error when editing QinQ entries

Added by Jim Pingle 2 months ago. Updated 2 months ago.

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

100%

Estimated time:
Affected Version:
2.4.4
Affected Architecture:
All

Description

When editing QinQ entries on interfaces_qinq_edit.php, a PHP error can occur:

PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/www/interfaces_qinq_edit.php:39
Stack trace:#0 {main} thrown in /usr/local/www/interfaces_qinq_edit.php on line 39
[11-Nov-2018 14:39:58 America/Chicago] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/www/interfaces_qinq_edit.php:39
Stack trace:#0 {main} thrown in /usr/local/www/interfaces_qinq_edit.php on line 39
No FreeBSD crash data found. 

See also: https://www.reddit.com/r/PFSENSE/comments/9w7jcg/qinq_cant_create_new_interface/

Associated revisions

Revision 439d9beb (diff)
Added by Jim Pingle 2 months ago

Initialize QinQ arrays before use. Fixes #9109

Revision 345ff312 (diff)
Added by Jim Pingle 2 months ago

Initialize QinQ arrays before use. Fixes #9109

(cherry picked from commit 439d9beba0213c96281d8ff6b09ccb8136b1a0aa)

History

#1 Updated by Jim Pingle 2 months ago

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

#2 Updated by Vladimir Lind 2 months ago

Created, edited, assigned QinQ interface - without errors.

#3 Updated by Jim Pingle 2 months ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF