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

    PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 3961

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    5 Posts 2 Posters 233 Views 2 Watching
    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.
    • P Offline
      pjaiswal0231
      last edited by

      Hi All after I update from 2.7 to 2.8, I got this alert, but I am not facing issues, so leave this error as it is

      PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 3961, Message: Uncaught TypeError: array_get_path(): Argument #1 ($arr) must be of type array, null given, called in /usr/local/pkg/squidguard.inc on line 1092 and defined in /etc/inc/util.inc:3961 Stack trace:
      #0 /usr/local/pkg/squidguard.inc(1092): array_get_path()
      #1 /usr/local/pkg/squidguard.inc(1035): convert_pfxml_to_sgxml_source()
      #2 /usr/local/pkg/squidguard.inc(93): convert_pfxml_to_sgxml()
      #3 /etc/inc/pkg-utils.inc(1062): require_once('/usr/local/pkg/...')
      #4 /etc/rc.packages(80): delete_package_xml()
      #5 {main}
      thrown

      1 Reply Last reply Reply Quote 0
      • stephenw10S Offline
        stephenw10 Netgate Administrator
        last edited by

        If you just remove the alert does it re-appear?

        It could be an artifact generated during the upgrade.

        P 1 Reply Last reply Reply Quote 0
        • P Offline
          pjaiswal0231 @stephenw10
          last edited by

          @stephenw10 the first reboot after the update I got this alert but after I rebooted one more time so no alert came to email.

          1 Reply Last reply Reply Quote 0
          • stephenw10S Offline
            stephenw10 Netgate Administrator
            last edited by

            Ah, then it was probably some mismatch during the upgrade that wasn't removed for some reason. If it doesn't return and Squid/Squidguard is working as expected then you likely don't need to do anything.

            P 1 Reply Last reply Reply Quote 0
            • P Offline
              pjaiswal0231 @stephenw10
              last edited by

              @stephenw10 I a not using squid guard so I have to enable and check, I enabled the squid proxy server and squid guard proxy filter they both are running fine without any errors.
              Thanks for the help and quick response

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