• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Plesk API problems after updating to 10.1.1.

E

EvaldasK

Guest
Hello,

My functions for reading databases info prom plesk with API worked fine since we updates version to 10.1.1. Now I get a

"exception 'ApiRequestException' with message 'Couldn't resolve host ''' in /var/www/vhosts/hostline.lt/httpdocs/new/admin/modules.php:192 Stack trace: #0 /var/www/vhosts/hostline.lt/httpdocs/new/admin/functions.php(107): sendRequest() #1 /var/www/vhosts/hostline.lt/httpdocs/new/admin/inc/clients_list.php(11): getClientsList() #2 /var/www/vhosts/hostline.lt/httpdocs/new/admin/inc_cent.php(13): include('/var/www/vhosts...') #3 /var/www/vhosts/hostline.lt/httpdocs/new/admin/index.php(35): include('/var/www/vhosts...') #4 {main}"

error when trying to read database. Can't read domain list and such. Strange thing is that i connect to plesk succesfully and some other functions, like reading service plans, are still working fine.

Do you have any idea what could've happened?
 
Back
Top