Started having a strange fatal error today, reset to defaults and it has returned
-
I'm unsure if I'm setting something incorrectly (and quite possible, as I'm not an IT professional, just a home user) but this error happened earlier today and I could do nothing besides reset the installation for default from the hardware device's console. It has again returned while I was trying to import a list of ipv4 addresses as an alias (various networks used by microsoft products, from their site). Here's the error that get's thrown when trying to do anything with the system via webconfigurator or at console level after it first occurs. Rebooting the system doesn't seem to correct anything, and my guess is that something in a configuration file gets changed to an invalid and cascades into the failure??? Anyways here's the error message...
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /etc/inc/util.inc:2053 Stack trace: #0 /etc/inc/config.gui.inc(56): alias_make_table() #1 /etc/inc/auth.inc(34): require_once('/etc/inc/config...') #2 /etc/inc/authgui.inc(27): include_once('/etc/inc/auth.i...') #3 /usr/local/www/guiconfig.inc(62): require_once('/etc/inc/authgu...') #4 /usr/local/www/index.php(46): require_once('/usr/local/www/...') #5 {main} thrown in /etc/inc/util.inc on line 2053 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 2053, Message: Uncaught TypeError: Cannot access offset of type string on string in /etc/inc/util.inc:2053 Stack trace: #0 /etc/inc/config.gui.inc(56): alias_make_table() #1 /etc/inc/auth.inc(34): require_once('/etc/inc/config...') #2 /etc/inc/authgui.inc(27): include_once('/etc/inc/auth.i...') #3 /usr/local/www/guiconfig.inc(62): require_once('/etc/inc/authgu...') #4 /usr/local/www/index.php(46): require_once('/usr/local/www/...') #5 {main} thrown
Is there a way to resolve this without resetting back to defaults?
Thanks
-
Sadly I have a tiny like 6" monitor attached to the hardware at the moment so the earlier error lines can't be seen, but this is what is shown at the console menu after to just hit enter to see the options again (this is above those default options)
#9 /etc/rc.banner (27): require_once(' /etc/inc/config... #10 (main) thrown in /etc/inc/util.ine on line 2053 PHP ERROR: Type: 1, File: /etc/inc/util.ine, Line: 2053, Message: Uncaught TypeError: Cannot secess offset of tupe string on string in /etc/inc/util. ine: 2053 Stack trace: # /etc/inc/config. gui. inc(56) : allas_make, table() #1 /etc/inc/auth. inc(34): require_once('/etc/inc/config. #2 /etc/inc/openvpn. inc(36) ; require_once("/etc/inc/ auth. #3 /etc/inc/filter. inc(30): require_once('/etc/ inc/openvp #4 /etc/inc/ipsec. inc(25) : require_once('/etc/inc/filter #5 /etc/inc/gwlb. inc(27): require_once(' /etc/inc/ipsec.. #6 /etc/inc/functions. inc(35): require_oncel*/ete/ine/qwib #7 /etc/inc/notices. inc(26) : require_once '/ete/Ine/functi #8 /etc/inc/config.inc(51): require. once(' /etc/ine/notice #9 /etc/rc.banner (27) : require oncel /etc/ inc/config. #10 (maini thrown Fatal error: Uncaught ValueError: Path cannot be empty in /ete/Ine/notices, ine: 101 Stack trace: #8 /etc/inc/notices.inc(101): fopen(" "w*) #1 /etc/inc/config. lib. inc(1162): file_notice('phperror', "PHP ERROR; Tupe. 'PHP errors') #2 (internal function): pfSense_clear_globals) #3 {main) thrown in /etc/inc/notices.inc on line 101
-
Try the fix outlined in this thread and post: https://forum.netgate.com/topic/180313/firewall-alias-import-bug-after-upgrade-to-23-05-release-amd64/3.