Pfsense 2.6 PHP Stack Trace [solved]
-
PHP errors
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', 'XX.XX.XX.XX:...')
#1 {main}
thrown @ 2022-03-16 11:57:33
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', 'XX.XX.XX.XX:...')
#1 {main}
thrown @ 2022-03-16 11:57:34 -
-
See also here https://forum.netgate.com/topic/170352/manually-killing-openvpn-connection-in-dashboard-widget-crashes-after-upgrade-to-2-6-0
The solution is a couple of click away ;)
-