Actions
Bug #14969
closedPHP error after changing IPv4 Configuration Type from None to PPPoE
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
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
Updated by Jim Pingle about 1 year ago
- Status changed from New to Duplicate
Duplicate of #14949 (already fixed with patches available)
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