Crash - PHP Fatal error: Uncaught TypeError: array_get_path()
-
Hai,
i got today an error after updating to the current version
2.7.0-DEVELOPMENT (amd64)
built on Wed Dec 21 06:05:08 UCT 2022
FreeBSD 14.0-CURRENTPHP Fatal error: Uncaught TypeError: array_get_path(): Argument #1 ($arr) must be of type array, null given, called in /etc/inc/config.lib.inc on line 1214 and defined in /etc/inc/util.inc:3348
Stack trace:
#0 /etc/inc/config.lib.inc(1214): array_get_path(NULL, 'system/timezone', NULL)
#1 /etc/inc/config.inc(145): config_get_path('system/timezone')
#2 /etc/inc/gwlb.inc(25): require_once('/etc/inc/config...')
#3 /etc/inc/functions.inc(35): require_once('/etc/inc/gwlb.i...')
#4 /etc/inc/notices.inc(26): require_once('/etc/inc/functi...')
#5 /etc/inc/config.gui.inc(39): require_once('/etc/inc/notice...')
#6 /etc/inc/auth.inc(34): require_once('/etc/inc/config...')
#7 /usr/local/www/csrf_error.php(24): require_once('/etc/inc/auth.i...')
#8 /usr/local/www/guiconfig.inc(35): include('/usr/local/www/...')
#9 /usr/local/www/csrf/csrf-magic.php(203): pfSense_csrf_callback('sid:5362330a8c5...')
#10 /usr/local/www/csrf/csrf-magic.php(408): csrf_check()
#11 /usr/local/www/guiconfig.inc(48): require_once('/usr/local/www/...')
#12 /usr/local/www/index.php(46): require_once('/usr/local/www/...')
#13 {main}
thrown in /etc/inc/util.inc on line 3348
[21-Dec-2022 15:51:14 Europe/Berlin] PHP Fatal error: Uncaught ValueError: Path cannot be empty in /etc/inc/notices.inc:101
Stack trace:
#0 /etc/inc/notices.inc(101): fopen('', 'w')
#1 /etc/inc/config.lib.inc(1148): file_notice('phperror', 'PHP ERROR: Type...', 'PHP errors')
#2 [internal function]: pfSense_clear_globals()
#3 {main}
thrown in /etc/inc/notices.inc on line 101Hope this helps,
Greetings from Germany
Frank -
That should be fixed by the snapshot building now.