Hi,
I decided to try to cleanup errors in my server error_log. Some of the more obvious I was able to handle myself, but I am left with the following and could use some help...
[23-May-2018 10:20:17 America/Detroit] PHP Notice: Undefined index: NOAA2018.TXT in ......../NOAA-reports-test.php on line 196
[23-May-2018 10:20:17 America/Detroit] PHP Notice: Undefined index: NOAA2018-05.TXT in ......../NOAA-reports-test.php on line 207
[23-May-2018 10:20:17 America/Detroit] PHP Notice: Undefined index: NOAA2018-06.TXT in ......../NOAA-reports-test.php on line 207
[23-May-2018 10:20:17 America/Detroit] PHP Notice: Undefined index: NOAA2018-07.TXT in ......../NOAA-reports-test.php on line 207
[23-May-2018 10:20:17 America/Detroit] PHP Notice: Undefined index: NOAA2018-08.TXT in ......../NOAA-reports-test.php on line 207
[23-May-2018 10:20:17 America/Detroit] PHP Notice: Undefined index: NOAA2018-09.TXT in ......../NOAA-reports-test.php on line 207
[23-May-2018 10:20:17 America/Detroit] PHP Notice: Undefined index: NOAA2018-10.TXT in ......../NOAA-reports-test.php on line 207
[23-May-2018 10:20:17 America/Detroit] PHP Notice: Undefined index: NOAA2018-11.TXT in ......../NOAA-reports-test.php on line 207
[23-May-2018 10:20:17 America/Detroit] PHP Notice: Undefined index: NOAA2018-12.TXT in ......../NOAA-reports-test.php on line 207
[23-May-2018 10:20:17 America/Detroit] PHP Notice: Undefined index: NOAA2003-01.TXT in ......../NOAA-reports-test.php on line 207
[23-May-2018 10:20:17 America/Detroit] PHP Notice: Undefined index: NOAA2003-02.TXT in ......../NOAA-reports-test.php on line 207
[23-May-2018 10:20:17 America/Detroit] PHP Notice: Undefined index: NOAA2003-03.TXT in ......../NOAA-reports-test.php on line 207
[23-May-2018 10:20:17 America/Detroit] PHP Notice: Undefined index: NOAA2003-04.TXT in ......../NOAA-reports-test.php on line 207
These files/reports DO NOT EXIST. The 2018 files listed are for months that have not yet occurred, and the 2003 are for months before my weather station became operational.
The problem is that the errors for these files repeat continuously, inflating the log file.
Note; My Saratoga Template based site is configured for WD, however I prefer WL NOAA reports, so I am using the standalone version "NOAA-reports-test.php".
I could also use some help with this error...
[23-May-2018 10:20:28 America/Detroit] PHP Warning: A non-numeric value encountered in ......../atom-top-warning.php on line 875
Thanks,
Dennis