Project

General

Profile

Actions

Bug #12825

closed

PHP Fatal error when attempting to kill an established OVPN connection via the dashboard widget

Added by Nick Goehring almost 3 years ago. Updated almost 3 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Web Interface
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
Affected Architecture:
amd64

Description

Had an issue this evening when trying to manually kill an OVPN connection via the widget on the dashboard. Widget displayed multiple connections which did not actually exist. The field where the username displayed had UNDEF. Shortly after, a notice regarding a crash report was displayed at the top of the page. The report was as follows, and indicates something went nuts with a PHP function. I'm using a MacBook OS 12.2.1 with Safari web browser.

[18-Feb-2022 20:02:07 Asia/Kuwait] 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('server2', '188.236.155.45:...')
#1 {main}
thrown in /etc/inc/openvpn.inc on line 2106
[18-Feb-2022 20:02:10 Asia/Kuwait] 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('server2', '188.236.155.45:...')
#1 {main}
thrown in /etc/inc/openvpn.inc on line 2106
[18-Feb-2022 20:02:11 Asia/Kuwait] 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('server2', '188.236.155.45:...')
#1 {main}
thrown in /etc/inc/openvpn.inc on line 2106
[18-Feb-2022 20:02:16 Asia/Kuwait] 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('server2', '188.236.155.45:...')
#1 {main}
thrown in /etc/inc/openvpn.inc on line 2106
[18-Feb-2022 20:02:17 Asia/Kuwait] 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('server2', '188.236.155.45:...')
#1 {main}
thrown in /etc/inc/openvpn.inc on line 2106
[18-Feb-2022 20:02:21 Asia/Kuwait] 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('server2', '188.236.155.45:...')
#1 {main}
thrown in /etc/inc/openvpn.inc on line 2106
[18-Feb-2022 20:02:22 Asia/Kuwait] 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('server2', '188.236.155.45:...')
#1 {main}
thrown in /etc/inc/openvpn.inc on line 2106


Related issues

Is duplicate of Regression #12817: PHP error when terminating OpenVPN sessions via the dashboard widgetResolvedViktor Gurov

Actions
Actions #1

Updated by Nick Goehring almost 3 years ago

Issue occurred using 22.01 on a 5100.

Actions #2

Updated by Jim Pingle almost 3 years ago

  • Project changed from pfSense Plus to pfSense
  • Category changed from Web Interface to Web Interface
  • Status changed from New to Duplicate

Duplicate of #12817

Actions #3

Updated by Jim Pingle almost 3 years ago

  • Is duplicate of Regression #12817: PHP error when terminating OpenVPN sessions via the dashboard widget added
Actions

Also available in: Atom PDF