• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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