Regression #15206
closedDeleting OpenVPN server or client on 24.03 release gives an error
0%
Description
Attempt delete OpenVPN server or client on 24.03 release gives an error.
24.03-DEVELOPMENT (amd64)
built on Fri Jan 26 9:00:00 MSK 2024
FreeBSD 15.0-CURRENT
Fatal error: Uncaught TypeError: openvpn_name(): Argument #2 ($settings) must be of type array, string given, called in /etc/inc/openvpn.inc on line 2494 and defined in /etc/inc/openvpn.inc:231 Stack trace: #0 /etc/inc/openvpn.inc(2494): openvpn_name('client', '1') #1 /usr/local/www/vpn_openvpn_client.php(83): openvpn_inuse('1', 'client') #2 {main} thrown in /etc/inc/openvpn.inc on line 231 PHP ERROR: Type: 1, File: /etc/inc/openvpn.inc, Line: 231, Message: Uncaught TypeError: openvpn_name(): Argument #2 ($settings) must be of type array, string given, called in /etc/inc/openvpn.inc on line 2494 and defined in /etc/inc/openvpn.inc:231 Stack trace: #0 /etc/inc/openvpn.inc(2494): openvpn_name('client', '1') #1 /usr/local/www/vpn_openvpn_client.php(83): openvpn_inuse('1', 'client') #2 {main} thrown
Files