Extensions: Calling api gets error Call to undefined function agent_db_query()

BrandonH

New Pleskian
[11-Dec-2013 23:15:53 UTC] PHP Fatal error: Call to undefined function agent_db_query() in C:\Program Files (x86)\Parallels\Plesk\admin\plib\api-rpc\AgentHosting.php on line 526


Code:
$req = <<< APICALL
<webspace>
<get>
   <filter/>
   <dataset>
      <hosting/>
   </dataset>
</get>
</webspace>
APICALL;
        $this->view->res = pm_ApiRpc::getService()->call($req);
 
Back
Top