Kill OpenVPN from pfSense Dashboard PHP Error
-
Hi Team,
just wanted to bring this to someone's attention. Over the weekend just gone, I upgraded my Netgate SG-3100 from 21.05 to 22.01. The site I work at uses OpenVPN extensively for Roadwarrior users.If I kill an active OpenVPN session using the dashboard, I now receive a PHP error
[20-Mar-2022 10:16:38 Australia/XXXXX] 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', '10.56.111.12:54...') #1 {main} thrown in /etc/inc/openvpn.inc on line 2106
-
Fixed in the upstream:
https://redmine.pfsense.org/issues/12817You can install the System Patches pkg:
https://docs.netgate.com/pfsense/en/latest/development/system-patches.htmland apply patch id 3ade222beb2cae2c0681ed69d4e5a0c82c6303f9
-
@viktor_g thank you for the quick response. Very much appreciated.