Actions
Bug #13285
closedUncaught ArgumentCountError to function openvpn_kill_client()
Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
OpenVPN
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
Affected Architecture:
Description
Killing session for user using OpenVPN Dashboard Widget or using OpenVPN Status page do not works.
On Widget next error appiers:
PHP ERROR: Type: 1, File: /etc/inc/openvpn.inc, Line: 2106, Message: Uncaught ArgumentCountError: Too few arguments to function openvpn_kill_client(), 2 passed in /usr/local/www/widgets/widgets/openvpn.widget.php on line 285 and exactly 3 expected in /etc/inc/openvpn.inc:2106
Stack trace:
#0 /usr/local/www/widgets/widgets/openvpn.widget.php(285): openvpn_kill_client('server1', '1.1.1.1:...')
#1 {main}
Note: 1.1.1.1 is client IP
On OpenVPN Status page "blue X" kill button do not create any PHP errors but do nothing instead. "red circle with white X inside" halt button works as expected
Reproduced on pfSense Plus 22.01, XG-7100U
Actions