Error with AWS Wizard



  • Fresh upgrade from NanoBSD 2.3.4, not sure if that has any correlation.

    Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/www/wizards/vpc_vpn_wizard.inc:463 
        Stack trace: 
            #0 /usr/local/www/wizards/vpc_vpn_wizard.inc(553): addVpcAlias('VPC_Remote_vpce...', Array, 'Networks on the...') 
            #1 /usr/local/www/wizards/vpc_vpn_wizard.inc(1286): addVpcAliases(Array, '*********', '*********', '*********') 
            #2 /usr/local/www/wizard.php(114) : eval()'d code(1): submit_create_tunnels_config_pfsense() 
            #3 /usr/local/www/wizard.php(114): eval() 
            #4 {main} thrown in /usr/local/www/wizards/vpc_vpn_wizard.inc on line 463 
                PHP ERROR: Type: 1, File: /usr/local/www/wizards/vpc_vpn_wizard.inc, Line: 463, Message: Uncaught Error: Cannot create references to/from string offsets in /usr/local/www/wizards/vpc_vpn_wizard.inc:463 
                    Stack trace: 
                    #0 /usr/local/www/wizards/vpc_vpn_wizard.inc(553): addVpcAlias('VPC_Remote_vpce...', Array, 'Networks on the...') 
                    #1 /usr/local/www/wizards/vpc_vpn_wizard.inc(1286): addVpcAliases(Array, '*********', '*********', '*********') 
                    #2 /usr/local/www/wizard.php(114) : eval()'d code(1): submit_create_tunnels_config_pfsense() 
                    #3 /usr/local/www/wizard.php(114): eval() 
                    #4 {main} thrown
    

    Thanks!


  • Rebel Alliance Developer Netgate

    I pushed a fix for that just now, give it a try when the update shows up

    That particular error was because the aliases section of the config was empty. I saw a few more similar pitfalls and fixed them all.