Project

General

Profile

Actions

Bug #14969

closed
DZ

PHP error after changing IPv4 Configuration Type from None to PPPoE

Bug #14969: PHP error after changing IPv4 Configuration Type from None to PPPoE

Added by Danilo Zrenjanin almost 3 years ago. Updated almost 3 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Interfaces
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
Affected Architecture:

Description

1) Assign a new interface.
2) Do not set any address. Both IPv4/IPv6 Configuration Type set to None . Just enable it and save/apply the changes.
3) Get back to the newly assigned interface and choose PPPoE for the IPv4 Configuration Type ; define user/pass, save/apply the changes.
4) You'll get the following PHP error:

Fatal error: Uncaught TypeError: Illegal offset type in /usr/local/www/interfaces.php:1996 Stack trace: #0 {main} thrown in /usr/local/www/interfaces.php on line 1996 PHP ERROR: Type: 1, File: /usr/local/www/interfaces.php, Line: 1996, Message: Uncaught TypeError: Illegal offset type in /usr/local/www/interfaces.php:1996 Stack trace: #0 {main} thrown

Related issues 1 (0 open1 closed)

Is duplicate of Bug #14949: PHP Error on ``interfaces.php`` when creating a PPP interfaceResolvedJim Pingle

Actions

DZ Updated by Danilo Zrenjanin almost 3 years ago Actions #1

Tested against:

23.09-RELEASE (arm)
built on Tue Oct 31 20:56:00 CET 2023
FreeBSD 14.0-CURRENT

JP Updated by Jim Pingle almost 3 years ago Actions #2

  • Status changed from New to Duplicate

Duplicate of #14949 (already fixed with patches available)

JP Updated by Jim Pingle almost 3 years ago Actions #3

  • Is duplicate of Bug #14949: PHP Error on ``interfaces.php`` when creating a PPP interface added
Actions

Also available in: Atom