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

    Crash durring wizard setup

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 2 Posters 505 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.
    • S
      sopk128
      last edited by sopk128

      On step 7 of the wizard setup, it crashes with the info below displayed.

      Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /usr/local/www/wizards/openvpn_wizard.inc:246 Stack trace: #0 /usr/local/www/wizard.php(219) : eval()'d code(1): step8_stepbeforeformdisplay() #1 /usr/local/www/wizard.php(219): eval() #2 {main} thrown in /usr/local/www/wizards/openvpn_wizard.inc on line 246 PHP ERROR: Type: 1, File: /usr/local/www/wizards/openvpn_wizard.inc, Line: 246, Message: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /usr/local/www/wizards/openvpn_wizard.inc:246 Stack trace: #0 /usr/local/www/wizard.php(219) : eval()'d code(1): step8_stepbeforeformdisplay() #1 /usr/local/www/wizard.php(219): eval() #2 {main} thrown

      PHP_errors1.txt

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        Looks like that could only happen if there were no certificates on the system at all, which is exceedingly rare. Someone would have to change the GUI to HTTP (dangerous enough as it is) and also delete the default GUI certificate.

        The code could handle that better, but it's still not something anyone should be hitting.

        You could make a certificate for now to work around it, either manually or by generating a GUI cert with pfSsh,php playback generateguicert from an SSH or console shell prompt.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

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