• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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