Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    OpenVPN Client Export Error: /usr/local/www/vpn_openvpn_export.php:441

    Scheduled Pinned Locked Moved CE 2.7.0 Development Snapshots (Retired)
    2 Posts 2 Posters 571 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      greenavocado
      last edited by greenavocado

      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:

      1. Uninstalled and re-installed "Client Export" package
      2. 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

      T 1 Reply Last reply Reply Quote 1
      • T
        tecnoconsulta @greenavocado
        last edited by

        @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:

        1. Uninstalled and re-installed "Client Export" package
        2. 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

        Same 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

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.