When the update usage statistics routine is made in the Plesk module against a Plesk 12.5.30 server which contains no accounts, the following error occurs:
Catchable fatal error: Argument 1 passed to Plesk_Manager_V1630::_getLimits() must be an instance of SimpleXMLElement, null given, called in /var/www/www.xxx.com/modules/servers/plesk/lib/Plesk/Manager/V1640.php on line 0 and defined in /var/www/www.xxx.com/modules/servers/plesk/lib/Plesk/Manager/V1630.php on line 0
Reproduction Steps:
Spin up a Plesk 12.5.30 server
Login to WHMCS Admin area and enter the server details into Setup > Products/Services > Servers
When the update usage statistics routine is made in the Plesk module against a Plesk 12.5.30 server which contains no accounts, the following error occurs:
Catchable fatal error: Argument 1 passed to Plesk_Manager_V1630::_getLimits() must be an instance of SimpleXMLElement, null given, called in /var/www/www.xxx.com/modules/servers/plesk/lib/Plesk/Manager/V1640.php on line 0 and defined in /var/www/www.xxx.com/modules/servers/plesk/lib/Plesk/Manager/V1630.php on line 0
Reproduction Steps: