Error on setting up Static DHCP (v4.2.2)

#1

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:

refob3jt8q!

System Details

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

#2

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

#3

You can ignore that error. See

#4

@Mcat12 OK, thanks.