To fix:
Update /components/modules/solusvm/solusvm.php
Find this line:
$templates = $this->csvToArray($response->templates);
Replace it with the following:
$templates = array();
switch (strtolower($type)) {
case "kvm":
$templates = (isset($response->templateskvm) ? $this->csvToArray($response->templateskvm) : array());
break;
case "xen hvm":
$templates = (isset($response->templateshvm) ? $this->csvToArray($response->templateshvm) : array());
break;
default:
$templates = (isset($response->templates) ? $this->csvToArray($response->templates) : array());
break;
}
To fix:
Update /components/modules/solusvm/solusvm.php
Find this line:
$templates = $this->csvToArray($response->templates);
Replace it with the following:
$templates = array();
switch (strtolower($type)) {
case "kvm":
$templates = (isset($response->templateskvm) ? $this->csvToArray($response->templateskvm) : array());
break;
case "xen hvm":
$templates = (isset($response->templateshvm) ? $this->csvToArray($response->templateshvm) : array());
break;
default:
$templates = (isset($response->templates) ? $this->csvToArray($response->templates) : array());
break;
}