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

    Warning: Cannot use a scalar value as an array in /etc/inc/util.inc on line 326

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    15 Posts 3 Posters 8.1k 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.
    • jimpJ
      jimp Rebel Alliance Developer Netgate
      last edited by

      I don't see any way that the arping package could have changed anything in that way, and it hasn't been updated (aside from correcting some minor text-only formatting) in several months.

      The system log is complaining about a specific line in the config that isn't formatted properly - you should see what is on that line.

      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 0
      • P
        psychosematic
        last edited by

        @jimp:

        The system log is complaining about a specific line in the config that isn't formatted properly - you should see what is on that line.

        You are referring to my config.xml correct?

        -Josh

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          yes

          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 0
          • P
            psychosematic
            last edited by

            @jimp:

            yes

            
            723 <package>724                        <name>arping</name>
            725                        <descr>Broadcasts a who-has ARP packet on the network and prints answers.</descr>
            726                        <website>http://www.habets.pp.se/synscan/programs.php?prog=arping</website>
            727                        <category>Services</category>
            728                        <version>2.06.1</version>
            729                        <status>Stable</status>
            730                        <pkginfolink>731                                <0>http://doc.pfsense.org/index.php/Arping_package
            732                                <1>http://doc.pfsense.org/index.php/Arping
            733</pkginfolink> 
            734                       <required_version>1.0.1</required_version>
            735                        <config_file>http://www.pfsense.com/packages/config/arping/arping.xml</config_file>
            736                        <configurationfile>arping.xml</configurationfile>
            737                        <depends_on_package_base_url>http://files.pfsense.org/packages/7/All/</depends_on_package_base_url>
            738                       <depends_on_package>arping-2.06.tbz</depends_on_package>
            739</package> 
            
            

            Here is the lines in the area that it was complaining about … this is straight out of the config read through ssh.

            @psychosematic:

            Come to think of it now … i think that this actually happened when I hit the save setting on the "dashboard" to save the widget layout.

            I also attached a couple screens of what is happening with the webgui along with the config history too. I am not totally sure what caused this to happen … like you said though I don't believe that the arping was the direct cause. It may have been the dashboard widgets after I clicked "save settings" is when everything happened.

            Thanks for all the help and patience!

            Josh

            interfaces.JPG
            interfaces.JPG_thumb
            confighist.JPG
            confighist.JPG_thumb

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              ah ha. Caught the little bugger… there shouldn't be two pkginfolinks... that shouldn't have been an array, hence the explosion.

              Should be fixed in ~5 minutes once the repo syncs up with my commit.

              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 0
              • P
                psychosematic
                last edited by

                @jimp:

                ah ha. Caught the little bugger… there shouldn't be two pkginfolinks... that shouldn't have been an array, hence the explosion.

                Should be fixed in ~5 minutes once the repo syncs up with my commit.

                So should I just restart the webgui from console … does that fix the gui problem as well?

                1 Reply Last reply Reply Quote 0
                • jimpJ
                  jimp Rebel Alliance Developer Netgate
                  last edited by

                  you could use viconfig from the console and delete this:

                  730                        <pkginfolink>731                                <0>http://doc.pfsense.org/index.php/Arping_package
                  732                                <1>http://doc.pfsense.org/index.php/Arping
                  733</pkginfolink> 
                  

                  And it should be ok, then reinstall arping again.

                  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 0
                  • P
                    psychosematic
                    last edited by

                    @jimp:

                    you could use viconfig from the console and delete this:

                    730                        <pkginfolink>731                                <0>http://doc.pfsense.org/index.php/Arping_package
                    732                                <1>http://doc.pfsense.org/index.php/Arping
                    733</pkginfolink> 
                    

                    And it should be ok, then reinstall arping again.

                    I have edited to config .. lines no longer there.

                    I apologize for the newbness here, longtime user of pfsense but I don't really know too much about the inner workings for console commands, as I am unable to use the webgui .. would you be so kind as to let me know the syntax to install arping from console?

                    Thanks again for your help!

                    Josh

                    1 Reply Last reply Reply Quote 0
                    • jimpJ
                      jimp Rebel Alliance Developer Netgate
                      last edited by

                      You don't install it from the console, after you fix the config you can get back into the GUI and do it there. :)

                      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 0
                      • P
                        psychosematic
                        last edited by

                        @jimp:

                        You don't install it from the console, after you fix the config you can get back into the GUI and do it there. :)

                        AHH yes .. I just figured that out and was coming back to post … helps if I think before i speak! I appreciate the help Jim!

                        Josh

                        :D

                        SOLVED

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