• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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