Project

General

Profile

Actions

Bug #14565

closed

php crash when killing openvpn session

Added by abk imp about 2 years ago. Updated about 2 years ago.

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:
2.6.0
Affected Architecture:
amd64

Description

Hi,

I just copy/paste the crash report here. This is a regression from 2.5.x

Crash report begins.  Anonymous machine information:

amd64
12.3-STABLE
FreeBSD 12.3-STABLE RELENG_2_6_0-n226742-1285d6d205f pfSense

Crash report details:

PHP Errors:
[10-Jul-2023 17:35:27 Europe/Paris] 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', '172.21.0.192:11...')
#1 {main}
  thrown in /etc/inc/openvpn.inc on line 2106
[10-Jul-2023 17:35:31 Europe/Paris] 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', '172.21.0.192:11...')
#1 {main}
  thrown in /etc/inc/openvpn.inc on line 2106
[10-Jul-2023 17:35:40 Europe/Paris] 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', '172.20.1.61:119...')
#1 {main}
  thrown in /etc/inc/openvpn.inc on line 2106

No FreeBSD crash data found.

Actions #1

Updated by Jim Pingle about 2 years ago

  • Status changed from New to Duplicate

Duplicate of #12817 which is fixed in 2.7.0.

Actions

Also available in: Atom PDF