With the resent update to check-fetch-times.php to version 1.56 I'm getting the following error.
PHP Warning: Undefined array key "SCRIPT_URI" in C:\inetpub\weathercat\check-fetch-times.php on line 1918
PHP Deprecated: parse_url(): Passing null to parameter #1 ($url) of type string is deprecated in C:\inetpub\weathercat\check-fetch-times.php on line 1918
If I make the change below the error will go away but I'm not sure if this is the best fix.
Before
$U = parse_url($_SERVER['SCRIPT_URI']);
After
$U = parse_url($_SERVER['SCRIPT_URI'] ?? '');