OpenVPN Client Export Error: /usr/local/www/vpn_openvpn_export.php:441
-
Hi all,
Ran into this issue where after creating OpenVPN server through Wizard and going to "Client Export" tab throws this error:
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/vpn_openvpn_export.php:441 Stack trace: #0 {main} thrown in /usr/local/www/vpn_openvpn_export.php on line 441 PHP ERROR: Type: 1, File: /usr/local/www/vpn_openvpn_export.php, Line: 441, Message: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/vpn_openvpn_export.php:441 Stack trace: #0 {main} thrown
Tried following to no avail:
- Uninstalled and re-installed "Client Export" package
- Deleted and re-created OpenVPN server from Wizard
Appreciate if anyone can chime in a fix or workaround.
Thanks
2.7.0-DEVELOPMENT (amd64)
built on Mon Oct 24 06:06:05 UTC 2022
FreeBSD 14.0-CURRENT -
@greenavocado said in OpenVPN Client Export Error: /usr/local/www/vpn_openvpn_export.php:441:
Hi all,
Ran into this issue where after creating OpenVPN server through Wizard and going to "Client Export" tab throws this error:
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/vpn_openvpn_export.php:441 Stack trace: #0 {main} thrown in /usr/local/www/vpn_openvpn_export.php on line 441 PHP ERROR: Type: 1, File: /usr/local/www/vpn_openvpn_export.php, Line: 441, Message: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/vpn_openvpn_export.php:441 Stack trace: #0 {main} thrown
Tried following to no avail:
- Uninstalled and re-installed "Client Export" package
- Deleted and re-created OpenVPN server from Wizard
Appreciate if anyone can chime in a fix or workaround.
Thanks
2.7.0-DEVELOPMENT (amd64)
built on Mon Oct 24 06:06:05 UTC 2022
FreeBSD 14.0-CURRENTSame here, I saw in redmine: https://redmine.pfsense.org/issues/13570 that it was solved, but it was not ported to last snapshot yet? I'm running "2.7.0-DEVELOPMENT (amd64) built on Tue Nov 01 06:05:17 UTC 2022 FreeBSD 14.0-CURRENT" but the error persist "Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/vpn_openvpn_export.php:441 Stack trace: #0 {main} thrown in /usr/local/www/vpn_openvpn_export.php on line 441 PHP ERROR: Type: 1, File: /usr/local/www/vpn_openvpn_export.php, Line: 441, Message: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/vpn_openvpn_export.php:441 Stack trace: #0 {main} thrown"
best regards,
jm
TC