Project

General

Profile

Actions

Bug #13152

closed

Disconnecting PPPoE generates PHP error

Added by Danilo Zrenjanin over 2 years ago. Updated about 2 years ago.

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

PHP_errors.log (404 Bytes) PHP_errors.log Danilo Zrenjanin, 05/12/2022 05:23 AM

Related issues

Is duplicate of Regression #13134: PHP error when releasing DHCP leaseResolvedViktor Gurov

Actions
Actions #2

Updated by Viktor Gurov over 2 years ago

Actions #3

Updated by Viktor Gurov over 2 years ago

  • Status changed from New to Duplicate
  • Assignee set to Viktor Gurov

Duplicate of #13134

Actions #4

Updated by Jim Pingle about 2 years ago

  • Target version deleted (CE-Next)
  • Plus Target Version deleted (Plus-Next)
Actions

Also available in: Atom PDF