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
Updated by DRago_Angel [InV@DER] over 2 years ago
Sorry, found https://redmine.pfsense.org/issues/12817 but it not mention status page, not sure 12817 also resolve OpenVPN status page, can you please check?
Updated by Jim Pingle over 2 years ago
- Status changed from New to Duplicate
There are no errors when terminating clients on the status page or widget on 22.05/2.7.0 snapshots.
Updated by DRago_Angel [InV@DER] over 2 years ago
Okay, thank you Jim for test and quick feedback.
Actions