Actions
Bug #13152
closedDisconnecting PPPoE generates PHP error
Status:
Duplicate
Priority:
Normal
Assignee:
Viktor Gurov
Category:
PPP Interfaces
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
2.7.0
Affected Architecture:
All
Description
I noticed this issue on the:
22.05-DEVELOPMENT (arm64) built on Tue May 10 12:33:50 UTC 2022 FreeBSD 12.3-STABLE
After disconnecting PPPoE connection under Status/Interfaces the GUI throws out the following PHP error:
Fatal error: Uncaught ArgumentCountError: Too few arguments to function restart_interface_services(), 1 passed in /usr/local/www/status_interfaces.php on line 49 and exactly 2 expected in /etc/inc/interfaces.inc:7715 Stack trace: #0 /usr/local/www/status_interfaces.php(49): restart_interface_services('wan') #1 {main} thrown in /etc/inc/interfaces.inc on line 7715 PHP ERROR: Type: 1, File: /etc/inc/interfaces.inc, Line: 7715, Message: Uncaught ArgumentCountError: Too few arguments to function restart_interface_services(), 1 passed in /usr/local/www/status_interfaces.php on line 49 and exactly 2 expected in /etc/inc/interfaces.inc:7715 Stack trace: #0 /usr/local/www/status_interfaces.php(49): restart_interface_services('wan') #1 {main} thrown
Files
Related issues
Updated by Danilo Zrenjanin over 2 years ago
- File PHP_errors.log PHP_errors.log added
Updated by Viktor Gurov over 2 years ago
- Is duplicate of Regression #13134: PHP error when releasing DHCP lease added
Updated by Viktor Gurov over 2 years ago
- Status changed from New to Duplicate
- Assignee set to Viktor Gurov
Duplicate of #13134
Updated by Jim Pingle about 2 years ago
- Target version deleted (
CE-Next) - Plus Target Version deleted (
Plus-Next)
Actions