PHP Notice: Undefined offset: 11 in get-metar-conditions-inc.php
Posted: Mon 05 Mar 2018 8:27 am
Ken
just had this notice in apache logs when visiting the wxmetar.php on my site:
when i looked at the line 752 it shows:
Any help in this would be most greatful.
I'm thinking it maybe something to do with the data coming back from the airports perhaps?
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?