Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    PHP errors during upgrade to 26.03 RC

    Scheduled Pinned Locked Moved Plus 26.03 Snapshots (Retired)
    8 Posts 5 Posters 1.4k Views 6 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.
    • SteveITSS Offline
      SteveITS Rebel Alliance
      last edited by SteveITS

      Upgraded a 2100 from 25.11.1 seemingly just fine, but it showed this entire series of errors for many pear modules, including "XML Extension not found":

      [133/160] Extracting php85-pear-Auth_RADIUS-1.1.0_5: ....... done
      
      Warning: foreach() argument must be of type array|object, null given in Command.php on line 249
      
      Warning: foreach() argument must be of type array|object, null given in Command.php on line 249
      
      Warning: foreach() argument must be of type array|object, null given in Command.php on line 249
      
      Warning: foreach() argument must be of type array|object, null given in Command.php on line 249
      
      Warning: foreach() argument must be of type array|object, null given in Command.php on line 249
      
      Warning: foreach() argument must be of type array|object, null given in Command.php on line 249
      
      Warning: foreach() argument must be of type array|object, null given in Command.php on line 249
      
      Warning: foreach() argument must be of type array|object, null given in Command.php on line 249
      
      Warning: foreach() argument must be of type array|object, null given in Command.php on line 249
      
      Warning: foreach() argument must be of type array|object, null given in Command.php on line 249
      
      Warning: foreach() argument must be of type array|object, null given in Command.php on line 249
      
      Warning: Trying to access array offset on null in Role.php on line 250
      
      Warning: Trying to access array offset on null in Role.php on line 251
      
      Warning: Trying to access array offset on null in Role.php on line 250
      
      Warning: Trying to access array offset on null in Role.php on line 251
      
      Warning: Trying to access array offset on null in Role.php on line 250
      
      Warning: Trying to access array offset on null in Role.php on line 251
      
      Warning: Trying to access array offset on null in Role.php on line 250
      
      Warning: Trying to access array offset on null in Role.php on line 251
      
      Warning: Trying to access array offset on null in Role.php on line 250
      
      Warning: Trying to access array offset on null in Role.php on line 251
      
      Warning: Trying to access array offset on null in Role.php on line 250
      
      Warning: Trying to access array offset on null in Role.php on line 251
      
      Warning: Trying to access array offset on null in Role.php on line 250
      
      Warning: Trying to access array offset on null in Role.php on line 251
      
      Warning: Trying to access array offset on null in Role.php on line 250
      
      Warning: Trying to access array offset on null in Role.php on line 251
      
      Warning: Trying to access array offset on null in Role.php on line 250
      
      Warning: Trying to access array offset on null in Role.php on line 251
      
      Warning: Trying to access array offset on null in Role.php on line 250
      
      Warning: Trying to access array offset on null in Role.php on line 251
      
      Warning: Undefined array key "honorsbaseinstall" in Role.php on line 173
      
      Warning: Undefined array key "honorsbaseinstall" in Role.php on line 173
      
      Warning: Undefined array key "honorsbaseinstall" in Role.php on line 173
      
      Warning: Undefined array key "honorsbaseinstall" in Role.php on line 173
      
      Warning: Undefined array key "honorsbaseinstall" in Role.php on line 173
      
      Warning: Undefined array key "honorsbaseinstall" in Role.php on line 173
      
      Warning: Undefined array key "honorsbaseinstall" in Role.php on line 173
      
      Warning: Undefined array key "honorsbaseinstall" in Role.php on line 173
      
      Warning: Undefined array key "honorsbaseinstall" in Role.php on line 173
      
      Warning: Undefined array key "honorsbaseinstall" in Role.php on line 173
      
      Warning: Undefined array key "installable" in Role.php on line 139
      
      Warning: Undefined array key "installable" in Role.php on line 139
      
      Warning: Undefined array key "installable" in Role.php on line 139
      
      Warning: Undefined array key "installable" in Role.php on line 139
      
      Warning: Undefined array key "installable" in Role.php on line 139
      
      Warning: Undefined array key "installable" in Role.php on line 139
      
      Warning: Undefined array key "installable" in Role.php on line 139
      
      Warning: Undefined array key "installable" in Role.php on line 139
      
      Warning: Undefined array key "installable" in Role.php on line 139
      
      Warning: Undefined array key "installable" in Role.php on line 139
      
      Warning: Undefined array key "phpfile" in Role.php on line 204
      
      Warning: Undefined array key "phpfile" in Role.php on line 204
      
      Warning: Undefined array key "phpfile" in Role.php on line 204
      
      Warning: Undefined array key "phpfile" in Role.php on line 204
      
      Warning: Undefined array key "phpfile" in Role.php on line 204
      
      Warning: Undefined array key "phpfile" in Role.php on line 204
      
      Warning: Undefined array key "phpfile" in Role.php on line 204
      
      Warning: Undefined array key "phpfile" in Role.php on line 204
      
      Warning: Undefined array key "phpfile" in Role.php on line 204
      
      Warning: Undefined array key "phpfile" in Role.php on line 204
      
      Warning: Undefined array key "config_vars" in Role.php on line 46
      
      Warning: Undefined array key "config_vars" in Role.php on line 46
      
      Warning: Undefined array key "config_vars" in Role.php on line 46
      
      Warning: Undefined array key "config_vars" in Role.php on line 46
      
      Warning: Undefined array key "config_vars" in Role.php on line 46
      
      Warning: Undefined array key "config_vars" in Role.php on line 46
      
      Warning: Undefined array key "config_vars" in Role.php on line 46
      
      Warning: Undefined array key "config_vars" in Role.php on line 46
      
      Warning: Undefined array key "config_vars" in Role.php on line 46
      
      Warning: Undefined array key "config_vars" in Role.php on line 46
      XML Extension not found
      [134/160] Installing php85-pear-Cache_Lite-1.8.3,1...
      [134/160] Extracting php85-pear-Cache_Lite-1.8.3,1: .......... done
      
      Warning: foreach() argument must be of type array|object, null given in Command.php on line 249
      
      Warning: foreach() argument must be of type array|object, null given in Command.php on line 249
      (...)
      

      Just a bit alarming to see hundreds of warning lines go by during an upgrade.

      To upgrade, select your branch in System/Update/Update Settings. When upgrading, allow 10-15 minutes to reboot, or more depending on packages, CPU, and/or disk speed.
      Only install packages for your version of pfSense.
      Upvote ๐Ÿ‘ helpful posts!

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG Offline
        Gertjan @SteveITS
        last edited by Gertjan

        @SteveITS

        As already shown / mentioned here : Call for Testing: pfSense Plus 26.03 RC Now Available! but ๐Ÿ‘ for not polluting that forum thread, and you've beaten me for posting about it elsewhere.

        Me thinking out loud about it :
        It could be that the newly download php85-pear- stuff gets "eval()"-ed but as the new PHP files are version "8.5" and the one evalling the new script files is the the soon to be replaced actual "php 8.4" it can't understand the new syntax and starts to throw out warning messages.
        So its a checking and egg problem ?

        There's probably a way around this by using a special PHP instance used by the 'installer' that has warnings turned of, but that can also hide things that are actual issues.

        When I see "Role.php" and other filenames, this makes me think it's part of the new Nexus scripts, which I haven't activated up on my pfSense.

        So imho, it's just visual pollution and looks somewhat scary for "the untrained eye".
        The the shear number of log lines with the same messages that is a bit unusual.

        No "help me" PM's please. Use the forum, the community will thank you.

        SteveITSS 1 Reply Last reply Reply Quote 0
        • SteveITSS Offline
          SteveITS Rebel Alliance @Gertjan
          last edited by

          @Gertjan Thatโ€™s what I thought also. If expected, a note in the release notes would at least let people know that beforehand.

          To upgrade, select your branch in System/Update/Update Settings. When upgrading, allow 10-15 minutes to reboot, or more depending on packages, CPU, and/or disk speed.
          Only install packages for your version of pfSense.
          Upvote ๐Ÿ‘ helpful posts!

          M 1 Reply Last reply Reply Quote 0
          • M Offline
            marcosm Netgate @SteveITS
            last edited by

            Is that device using zfs?

            A GertjanG SteveITSS 3 Replies Last reply Reply Quote 0
            • A Offline
              aivxtla @marcosm
              last edited by

              @marcosm I got similar errors while upgrading though no issues in use after upgrade. SG-8200 using ZFS.

              1 Reply Last reply Reply Quote 0
              • GertjanG Offline
                Gertjan @marcosm
                last edited by

                @marcosm said in PHP errors during upgrade to 26.03 RC:

                Is that device using zfs?

                I do.
                Didn't even knew that a recent pfSense Plus could be used with something else as zfs. That's like excluding yourself from the most nifty functionality that exists for pfSense.

                No "help me" PM's please. Use the forum, the community will thank you.

                cmcdonaldC 1 Reply Last reply Reply Quote 0
                • cmcdonaldC Offline
                  cmcdonald Netgate Developer @Gertjan
                  last edited by

                  @Gertjan said in PHP errors during upgrade to 26.03 RC:

                  @marcosm said in PHP errors during upgrade to 26.03 RC:

                  Is that device using zfs?

                  I do.
                  Didn't even knew that a recent pfSense Plus could be used with something else as zfs. That's like excluding yourself from the most nifty functionality that exists for pfSense.

                  Some people use UFS on cloud/VMs where the underlying storage provides an additional layer of "insurance" that UFS on bare metal just can't provide.

                  ZFS is the sane default though, for good reasons

                  These errors are not "unexpected". During the upgrade there is a window of time where the PHP stack is inconsistent and these packages try to execute PEAR commands. PEAR packaged code is fundamentally broken and is on my list of things to cull at some point.

                  Need help fast? https://www.netgate.com/support

                  1 Reply Last reply Reply Quote 3
                  • SteveITSS Offline
                    SteveITS Rebel Alliance @marcosm
                    last edited by

                    @marcosm said in PHP errors during upgrade to 26.03 RC:

                    Is that device using zfs?

                    Yes.

                    To upgrade, select your branch in System/Update/Update Settings. When upgrading, allow 10-15 minutes to reboot, or more depending on packages, CPU, and/or disk speed.
                    Only install packages for your version of pfSense.
                    Upvote ๐Ÿ‘ helpful posts!

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
                    Privacy Policy · Cookie Policy