I'm getting a bunch of php errors repeated in the lighttpd logs. Any idea what it might be?
2017-12-18 19:28:54: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning: Invalid argument supplied for foreach() in /var/www/html/admin/scripts/pi-hole/php/auth.php on line 123
2017-12-18 19:28:59: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning: preg_split(): Delimiter must not be alphanumeric or backslash in /var/www/html/admin/scripts/pi-hole/php/auth.php on line 122
if I check out /var/www/html/admin/scripts/pi-hole/php/auth.php lines 122 and 123, it reads as follows:
$domains = preg_split('\s+', $_POST['domain']);
foreach($domains as $domain)