Regression #13134
closedPHP error when releasing DHCP lease
100%
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
Updated by Jim Pingle over 2 years ago
- Target version set to 2.7.0
- Plus Target Version set to 22.05
Updated by Viktor Gurov over 2 years ago
- Related to Todo #12619: Restart services on interface changes added
Updated by Viktor Gurov over 2 years ago
- Assignee set to Viktor Gurov
- Affected Version set to 2.7.0
Updated by Jim Pingle over 2 years ago
- Status changed from New to Pull Request Review
Updated by Viktor Gurov over 2 years ago
- Status changed from Pull Request Review to Feedback
- % Done changed from 0 to 100
Applied in changeset 6292f557bfc5d4131236138a8f48e62da731a71a.
Updated by Viktor Gurov over 2 years ago
- Has duplicate Bug #13152: Disconnecting PPPoE generates PHP error added
Updated by Marcos M over 2 years ago
- Subject changed from PHP error when releaseing DHCP lease to PHP error when releasing DHCP lease