Warning: SimpleXMLElement::__construct(): Entity: line 6: parser error : Opening and ending tag mismatch: hr line 5 and body in F:\WD\wsmetno3\metnoCreateArr.php on line 101

Warning: SimpleXMLElement::__construct(): </body> in F:\WD\wsmetno3\metnoCreateArr.php on line 101

Warning: SimpleXMLElement::__construct(): ^ in F:\WD\wsmetno3\metnoCreateArr.php on line 101

Warning: SimpleXMLElement::__construct(): Entity: line 7: parser error : Opening and ending tag mismatch: body line 3 and html in F:\WD\wsmetno3\metnoCreateArr.php on line 101

Warning: SimpleXMLElement::__construct(): </html> in F:\WD\wsmetno3\metnoCreateArr.php on line 101

Warning: SimpleXMLElement::__construct(): ^ in F:\WD\wsmetno3\metnoCreateArr.php on line 101

Warning: SimpleXMLElement::__construct(): Entity: line 8: parser error : Premature end of data in tag html line 1 in F:\WD\wsmetno3\metnoCreateArr.php on line 101

Warning: SimpleXMLElement::__construct(): in F:\WD\wsmetno3\metnoCreateArr.php on line 101

Warning: SimpleXMLElement::__construct(): ^ in F:\WD\wsmetno3\metnoCreateArr.php on line 101

Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in F:\WD\wsmetno3\metnoCreateArr.php:101 Stack trace: #0 F:\WD\wsmetno3\metnoCreateArr.php(101): SimpleXMLElement->__construct('<html>\r\n<head><...') #1 F:\WD\wsmetno3\metnoGenerateHtml.php(34): metnoWeather->getWeatherData('39.46224', '-8.20039') #2 F:\WD\wsmetno3\metno.php(94): include('F:\\WD\\wsmetno3\\...') #3 {main} thrown in F:\WD\wsmetno3\metnoCreateArr.php on line 101