Actions
Bug #15581
closedOpenVPN wizard generates PHP error
Start date:
Due date:
% Done:
0%
Estimated time:
Release Notes:
Force Exclusion
Affected Plus Version:
Affected Architecture:
Description
The system throws a PHP error after defining an OpenVPN server using the wizard on a stock configuration.
Tested against:
24.08-DEVELOPMENT (amd64)
built on Tue Jun 25 6:00:00 UTC 2024
FreeBSD 15.0-CURRENT
I used all default values.
Crash report begins. Anonymous machine information: amd64 15.0-CURRENT FreeBSD 15.0-CURRENT #1 plus-devel-main-n256339-5c71199c72c: Tue Jun 25 06:36:10 UTC 2024 root@freebsd:/var/jenkins/workspace/pfSense-Plus-snapshots-master-main/obj/amd64/2zgsqn3D/var/jenkins/workspace/pfSense-Plus-snapshots-master-main/sources/FreeBS Crash report details: PHP Errors: [26-Jun-2024 17:27:33 Etc/UTC] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /etc/inc/openvpn.inc:2295 Stack trace: #0 /etc/inc/openvpn.inc(856): openvpn_create_dirs() #1 /etc/inc/openvpn.inc(1633): openvpn_reconfigure('server', Array) #2 /etc/inc/openvpn.inc(1834): openvpn_restart('server', Array) #3 /usr/local/www/wizards/openvpn_wizard.inc(739): openvpn_resync('server', Array) #4 /usr/local/www/wizard.php(116) : eval()'d code(1): step12_submitphpaction() #5 /usr/local/www/wizard.php(116): eval() #6 {main} thrown in /etc/inc/openvpn.inc on line 2295
Files
Actions