Non critical bug: Pihole gives error on registering the first static dhcp lease, but it does register the lease

On adding the first static DHCP I got the error below. Not really a problem, since the static dhcp lease is indeed registered. The error could possibly be prevented bij creating an empty file on install or something.
So its a false positive error, not really a problem but solving this makes pihole a bit more neat.

Expected Behaviour:

Info: A new static address has been added

Actual Behaviour:

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:66

Debug Token:

https://tricorder.pi-hole.net/v54qt5g4x5

Having the same issue as the poster.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.