Error after saving DHCP page [fixed]



  • This may be just a cosmetic issue, but after I change a DHCP static mapping and click Apply on the services_dhcp.php page, I get error text at the top of the page.  The rest of the page appears normally below the error and everything works ok.  If I leave the page and come back, the error text is gone.

    Error Text:

    
    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 given in /etc/inc/unbound.inc on line 239
    
    ```![screenshot.PNG](/public/_imported_attachments_/1/screenshot.PNG)
    ![screenshot.PNG_thumb](/public/_imported_attachments_/1/screenshot.PNG_thumb)

  • Moderator

    Similar issue…. You can manually edit the file as per the thread below or post a bug report in redmine.

    https://forum.pfsense.org/index.php?topic=93658.msg519837#msg519837



  • I searched the bug list and see that this has already been fixed in a future patch.

    https://redmine.pfsense.org/issues/4693