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

Crash - PHP Fatal error: Uncaught TypeError: array_get_path()

Scheduled Pinned Locked Moved CE 2.7.0 Development Snapshots (Retired)
2 Posts 2 Posters 746 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.
  • F
    FGlaser
    last edited by FGlaser Dec 21, 2022, 2:58 PM Dec 21, 2022, 2:57 PM

    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-CURRENT

    PHP 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 101

    Hope this helps,

    Greetings from Germany
    Frank

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Dec 21, 2022, 4:10 PM

      That should be fixed by the snapshot building now.

      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 1
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received