Unable to rename domain: "PHP Fatal error: Call to a member function quoteIdentifier() on a non-object"

Refers to:

  • Plesk 11.5 for Windows
  • Plesk 11.5 for Linux
  • MT:78346cdafde8c6778bea6b60cffba1b2
  • MG:00a80246b14e6de68bb84b8eccefef5f

Created:

2016-11-16 13:13:10 UTC

Modified:

2017-02-13 06:13:15 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to rename domain: "PHP Fatal error: Call to a member function quoteIdentifier() on a non-object"

Symptoms

An attempt to rename a domain / subdomain / add-on domain fails with the following error:

PHP Fatal error:  Call to a member function quoteIdentifier() on a non-object in C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\Webmail.php on line 165

An attempt to delete a mail account fails with the following error:

Internal error.
ERROR: Call to a member function delete() on a non-object (Webmail.php:106)
Search for related Knowledge Base articles

Cause

This behavior is considered to be a software issue. The internal request ID is PPPM-988 .

This issue was fixed in MU#45 for Parallels Plesk 11.5: Parallels Plesk 11.5.30 MU#45

Resolution

Please update Plesk 11.5 to latest version. For more information about microupdate installation, see the article: Using Micro-Updates in Parallels Plesk.

Workaround

  1. Create a psa database dump:

    "%plesk_dir%\\MySQL\\bin\\mysqldump.exe" -uadmin -P8306 -p<your_Plesk_password_here> psa > "%plesk_dir%\\Backup\\psa.sql"
  2. Log in to the psa database:

    "%plesk_dir%\\MySQL\\bin\\mysql.exe"  -uadmin -p<your_Plesk_password_here> -P8306 psa
  3. Set the host field of the local MySQL database server in psa.DatabaseServers to localhost :

    mysql> select id, host, port, type, server_version, admin_login from DatabaseServers;
    +----+-----------+------+-------+----------------+-------------+
    | id | host | port | type | server_version | admin_login |
    +----+-----------+------+-------+----------------+-------------+
    | 1 | 127.0.0.1 | 3306 | mysql | 5.1.68 | admin |
    +----+-----------+------+-------+----------------+-------------+
    1 row in set (0.00 sec)

    mysql> update DatabaseServers set host='localhost' where id=1;
Have more questions? Submit a request
Please sign in to leave a comment.