Article ID: 124597, created on Feb 25, 2015, last review on Mar 12, 2015

  • Applies to:
  • Plesk 12.0 for Windows
  • Plesk 11.0 for Windows


Unable to remove a subscription, the following error appears in Plesk GUI:

ERROR: Call to a member function removeUser() on a non-object (Abstract.php:988)


Database inconsistency, particularly by missing entry in ServiceInstances table.


  1. Create a backup of Plesk database:

    On Windows Server OSes:

    "%plesk_dir%MySQL\bin\mysqldump.exe" -uadmin -p******** -P8306 psa > C:\psa_db_dump.sql

    On Linux OSes:

    # mysqldump -uadmin -p`cat /etc/psa/.psa.shadow ` psa > psa_dump_`date +%F`.sql
  2. Find missing record (consider replacing domain.tld with domain name in question):

    mysql> select id,name from domains where name='domain.tld';
    | id  | name                 |
    | 138 | domain.tld           |
    1 row in set (0.00 sec)
    mysql> select id,object_id from Subscriptions where object_id=138 and object_type='domain';
    | id  | object_id |
    | 236 |       138 |
    1 row in set (0.00 sec)
    mysql> select * from ServiceInstances where servicePackageId=236;
    Empty set (0.00 sec)
  3. Generate some uuid using the following commands

    On Linux OSes:

    # UUID=$(cat /proc/sys/kernel/random/uuid);echo $UUID

    On Windows Server OSes (use powershell):

    > $uuid = [guid]::NewGuid(); $uuid
  4. Make sure that there are no entries in ServiceInstances table with this uuid:

    mysql> select * from ServiceInstances where reference='bb4b3444-b9b9-4900-862b-d4419c3fb844';
    Empty set (0.01 sec)
  5. Insert missing record to ServiceInstances table:

    mysql> insert into ServiceInstances(serviceInstallationId, servicePackageId, reference, status, enabled) values(2, 236, 'fd678c14-6ce8-11e4-b116-123b93f75cba', 1, 1);
    Query OK, 1 row affected (0.01 sec)
  6. Try to remove the subscription again.

Search Words

ERROR: Call to a member function removeUser() on a non-object (Abstract.php:988)

unable to remove subscription

ERROR: Call to a member function removeUser

function removeUser()

cannot remove domain

ed7be2b984f9c27de1d2dc349dc19c6d 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 85a92ca67f2200d36506862eaa6ed6b8 a766cea0c28e23e978fa78ef81918ab8 514af229ae32522202a910a2649c80fb bd7fc88cf1b01f097749ae6f87272128

Email subscription for changes to this article
Save as PDF