Warning: DOMDocument::load(): php_network_getaddresses: getaddrinfo failed: No such host is known. in C:\WWW\classes\cls_read_settings.php on line 9

Warning: DOMDocument::load(https://www.pmoffice.gov.lk/settings/settings.xml): failed to open stream: php_network_getaddresses: getaddrinfo failed: No such host is known. in C:\WWW\classes\cls_read_settings.php on line 9

Warning: DOMDocument::load(): I/O warning : failed to load external entity "https://www.pmoffice.gov.lk/settings/settings.xml" in C:\WWW\classes\cls_read_settings.php on line 9

Fatal error: Uncaught Error: Call to a member function getElementsByTagName() on null in C:\WWW\classes\cls_read_settings.php:12 Stack trace: #0 C:\WWW\classes\cls_database.php(11): ReadSettings::getValue('mysql', 'host') #1 C:\WWW\db.php(8): DataBase->__construct() #2 C:\WWW\news.php(4): require_once('C:\\WWW\\db.php') #3 {main} thrown in C:\WWW\classes\cls_read_settings.php on line 12