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