Project

General

Profile

Actions

Regression #13134

closed

PHP error when releasing DHCP lease

Added by Marcos M almost 2 years ago. Updated almost 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 #1

Updated by Jim Pingle almost 2 years ago

  • Target version set to 2.7.0
  • Plus Target Version set to 22.05
Actions #2

Updated by Viktor Gurov almost 2 years ago

  • Related to Todo #12619: Restart services on interface changes added
Actions #3

Updated by Viktor Gurov almost 2 years ago

  • Assignee set to Viktor Gurov
  • Affected Version set to 2.7.0
Actions #4

Updated by Jim Pingle almost 2 years ago

  • Status changed from New to Pull Request Review
Actions #5

Updated by Viktor Gurov almost 2 years ago

  • Status changed from Pull Request Review to Feedback
  • % Done changed from 0 to 100
Actions #6

Updated by Marcos M almost 2 years ago

  • Status changed from Feedback to Resolved

Fix works, thanks!

Actions #7

Updated by Viktor Gurov almost 2 years ago

  • Has duplicate Bug #13152: Disconnecting PPPoE generates PHP error added
Actions #8

Updated by Marcos M almost 2 years ago

  • Subject changed from PHP error when releaseing DHCP lease to PHP error when releasing DHCP lease
Actions

Also available in: Atom PDF