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

    GUI reports errors when modifying DHCP static leases when upg 2.2.1 to 2.2.2

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    3 Posts 3 Posters 724 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.
    • E
      epimeteo
      last edited by

      Definitly NOT a "low risk" upgrade, as usual. Very VERY annoying specially for a mantain release.

      First problem is the COM1 must be disabled from BIOS. Not a problem IF THE BOX IS NEAR YOU…

      Second and bigger. When I try to add a new DHCP fixed lease the GUI crashes witch this message:

      Warning: in_array() expects parameter 2 to be array, null given in /etc/inc/unbound.inc on line 239 Warning: in_array() expects parameter 2 to be array, null given in /etc/inc/unbound.inc on line 239 Warning: in_array() expects parameter 2 to be array, null given in /etc/inc/unbound.inc on line 239 Warning: in_array() expects parameter 2 to be array, null given in /etc/inc/unbound.inc on line 239 Warning: in_array() expects parameter 2 to be array, null giv
      

      Third (and it seems very strange - i need to test more to be sure of the behaviour): I try to delete a DHCP lease but it magically appears again after a logout / login in the GUI without IP. And now it is impossible to remove from leases. (even if there is no MAC responding) check the picture.

      leaseDHCP.jpg
      leaseDHCP.jpg_thumb

      PfSense 2.2 64bit - AtomD2550 4GB w/ 4 NIC IntelPRO1000

      1 Reply Last reply Reply Quote 0
      • P
        phil.davis
        last edited by

        Warning: in_array() expects parameter 2 to be array, null given in /etc/inc/unbound.inc on line 239
        

        Apologies for number 2. It turns out it is just a warning, looks very messy on the GUI but underneath the unbound configuration is built correctly. The warning appears if you have Unbound Forwarding mode on, and "Allow DNS server list to be overridden by DHCP/PPP on WAN" is off.
        Fixed by this pull request: https://github.com/pfsense/pfsense/pull/1615

        As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
        If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

        1 Reply Last reply Reply Quote 0
        • A
          andrewCIT
          last edited by

          I had the same error as the OP after upgrading from 2.2.1 to 2.2.2 and the above commit does indeed correct the issue.

          Thanks Phil!

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