Hi all, i wanted to validate a client's package and got the following error:
Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home/**/public_html/cp2/includes/servers/whm.php:49 Stack trace: #0 /home/**/public_html/cp2/includes/servers/whm.php(49): SimpleXMLElement->__construct('') #1 /home/**/public_html/cp2/includes/servers/whm.php(96): whm->remote('/xml-api/unsusp...') #2 /home/**/public_html/cp2/includes/class_server.php(249): whm->unsuspend('volcanoo', '7') #3 /home/**/public_html/cp2/admin/pages/users.php(184): server->unsuspend('77') #4 /home/**/public_html/cp2/admin/index.php(137): page->content() #5 /home/**/public_html/cp2/admin/index.php(204): acp() #6 {main} thrown in /home/**/public_html/cp2/includes/servers/whm.php on line 49
-Never mind, after a page refresh it worked..
Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home/**/public_html/cp2/includes/servers/whm.php:49 Stack trace: #0 /home/**/public_html/cp2/includes/servers/whm.php(49): SimpleXMLElement->__construct('') #1 /home/**/public_html/cp2/includes/servers/whm.php(96): whm->remote('/xml-api/unsusp...') #2 /home/**/public_html/cp2/includes/class_server.php(249): whm->unsuspend('volcanoo', '7') #3 /home/**/public_html/cp2/admin/pages/users.php(184): server->unsuspend('77') #4 /home/**/public_html/cp2/admin/index.php(137): page->content() #5 /home/**/public_html/cp2/admin/index.php(204): acp() #6 {main} thrown in /home/**/public_html/cp2/includes/servers/whm.php on line 49
-Never mind, after a page refresh it worked..