A PHP Error was encountered

Severity: Warning

Message: SimpleXMLElement::__construct(): Entity: line 2: parser error : AttValue: " or ' expected

Filename: models/news_data.php

Line Number: 38

A PHP Error was encountered

Severity: Warning

Message: SimpleXMLElement::__construct():

Filename: models/news_data.php

Line Number: 38

A PHP Error was encountered

Severity: Warning

Message: SimpleXMLElement::__construct(): ^

Filename: models/news_data.php

Line Number: 38

A PHP Error was encountered

Severity: Warning

Message: SimpleXMLElement::__construct(): Entity: line 2: parser error : attributes construct error

Filename: models/news_data.php

Line Number: 38

A PHP Error was encountered

Severity: Warning

Message: SimpleXMLElement::__construct():

Filename: models/news_data.php

Line Number: 38

A PHP Error was encountered

Severity: Warning

Message: SimpleXMLElement::__construct(): ^

Filename: models/news_data.php

Line Number: 38

A PHP Error was encountered

Severity: Warning

Message: SimpleXMLElement::__construct(): Entity: line 2: parser error : Couldn't find end of Start Tag html line 2

Filename: models/news_data.php

Line Number: 38

A PHP Error was encountered

Severity: Warning

Message: SimpleXMLElement::__construct():

Filename: models/news_data.php

Line Number: 38

A PHP Error was encountered

Severity: Warning

Message: SimpleXMLElement::__construct(): ^

Filename: models/news_data.php

Line Number: 38

A PHP Error was encountered

Severity: Warning

Message: SimpleXMLElement::__construct(): Entity: line 2: parser error : Extra content at the end of the document

Filename: models/news_data.php

Line Number: 38

A PHP Error was encountered

Severity: Warning

Message: SimpleXMLElement::__construct():

Filename: models/news_data.php

Line Number: 38

A PHP Error was encountered

Severity: Warning

Message: SimpleXMLElement::__construct(): ^

Filename: models/news_data.php

Line Number: 38

Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /var/www/web/app_secure_asd4/models/news_data.php:38 Stack trace: #0 /var/www/web/app_secure_asd4/models/news_data.php(38): SimpleXMLElement->__construct('...') #1 /var/www/web/app_secure_asd4/controllers/home.php(17): News_data->get_news() #2 [internal function]: Home->index() #3 /var/www/web/sys_secure_lk94/core/CodeIgniter.php(359): call_user_func_array(Array, Array) #4 /var/www/web/index.php(203): require_once('/var/www/web/sy...') #5 {main} thrown in /var/www/web/app_secure_asd4/models/news_data.php on line 38