just had this notice in apache logs when visiting the wxmetar.php on my site:
Code: Select all
[Sun Mar 04 23:54:31.517313 2018] [php7:notice] [pid 21322:tid 140681158805248] [client xx.xxx.xx.6:49533] PHP Notice: Undefined offset: 11 in /htdocs/weather/get-metar-conditions-inc.php on line 752
Code: Select all
$part = $metarParts[$metarPtr];
I'm thinking it maybe something to do with the data coming back from the airports perhaps?