Error when trying to kill a openvpn user
-
hello,
i'm on pfsense 2.6.0
Crash report begins. Anonymous machine information:
amd64
12.3-STABLE
FreeBSD 12.3-STABLE RELENG_2_6_0-n226742-1285d6d205f pfSenseCrash report details:
PHP Errors:
[05-Jul-2022 16:20:27 Europe/Tirane] PHP Fatal error: 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', '89.163.242.61:5...')
#1 {main}
thrown in /etc/inc/openvpn.inc on line 2106
[05-Jul-2022 16:20:37 Europe/Tirane] PHP Fatal error: 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', '89.163.242.61:5...')
#1 {main}
thrown in /etc/inc/openvpn.inc on line 2106No FreeBSD crash data found.
-
That is a known bug: https://redmine.pfsense.org/issues/12817
It's fixed in 2.7 and the patch is in the recommended patches list in the System Patches package. Just install that and apply the patch.
Steve