Project

General

Profile

Actions

Regression #13134

closed

PHP error when releasing DHCP lease

Added by Marcos M over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Viktor Gurov
Category:
Interfaces
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
22.05
Release Notes:
Force Exclusion
Affected Version:
2.7.0
Affected Architecture:

Description

Go to Status / Interfaces and click Release <interface>

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:7711 Stack trace: #0 /usr/local/www/status_interfaces.php(49): restart_interface_services('wan') #1 {main} thrown in /etc/inc/interfaces.inc on line 7711 PHP ERROR: Type: 1, File: /etc/inc/interfaces.inc, Line: 7711, 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:7711 Stack trace: #0 /usr/local/www/status_interfaces.php(49): restart_interface_services('wan') #1 {main} thrown


Related issues

Related to Todo #12619: Restart services on interface changesResolvedViktor Gurov

Actions
Has duplicate Bug #13152: Disconnecting PPPoE generates PHP errorDuplicateViktor Gurov

Actions
Actions

Also available in: Atom PDF