Project

General

Profile

Actions

Bug #14969

closed

PHP error after changing IPv4 Configuration Type from None to PPPoE

Added by Danilo Zrenjanin about 1 year ago. Updated about 1 year 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

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

Actions
Actions #1

Updated by Danilo Zrenjanin about 1 year ago

Tested against:

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

Actions #2

Updated by Jim Pingle about 1 year ago

  • Status changed from New to Duplicate

Duplicate of #14949 (already fixed with patches available)

Actions #3

Updated by Jim Pingle about 1 year ago

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

Also available in: Atom PDF