Error on setting up Static DHCP (v4.2.2)


Please follow the below template, it will help us to help you!

Expected Behaviour:

I should be able to define a static DHCP using the GUI.

Actual Behaviour:

Red box at top of screen with this;
There was a problem applying your settings.
Debugging information:
PHP error (2): fopen(/etc/dnsmasq.d/04-pihole-static-dhcp.conf): failed to open stream: No such file or directory in /var/www/html/admin/scripts/pi-hole/php/savesettings.php:68

Debug Token:


System Details

Raspberry Pi 2B
16GB storage, of which 3.4GB used.


Please supply the information added as well as the file being modified.


You can ignore that error. See


@Mcat12 OK, thanks.