I keep getting errors from these two files but I have so far been unable to work out the cause.
In sunplot.php I get these errors:
Code: Select all
[16-Dec-2019 23:58:23 Australia/Melbourne] PHP Notice: Undefined offset: 278 in /home/user_dir/public_html/weather/images/sunplot.php on line 321
[16-Dec-2019 23:58:23 Australia/Melbourne] PHP Notice: Undefined offset: 278 in /home/user_dir/public_html/weather/images/sunplot.php on line 322
[16-Dec-2019 23:58:23 Australia/Melbourne] PHP Notice: Undefined offset: 0 in /home/user_dir/public_html/weather/images/sunplot.php on line 324
[16-Dec-2019 23:58:23 Australia/Melbourne] PHP Notice: Undefined offset: 1 in /home/user_dir/public_html/weather/images/sunplot.php on line 324
[16-Dec-2019 23:58:23 Australia/Melbourne] PHP Notice: Undefined offset: 0 in /home/user_dir/public_html/weather/images/sunplot.php on line 325
[16-Dec-2019 23:58:23 Australia/Melbourne] PHP Notice: Undefined offset: 1 in /home/user_dir/public_html/weather/images/sunplot.php on line 325
Code: Select all
[17-Dec-2019 07:54:33 Australia/Melbourne] PHP Notice: Undefined offset: 2020 in /home/user_dir/public_html/weather/datasummary/datasummaryReadDaySQL.php on line 914
[17-Dec-2019 07:54:33 Australia/Melbourne] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /home/user_dir/public_html/weather/datasummary/datasummaryReadDaySQL.php on line 914