Call to a member function sdkInstanceLimits() on a non-object

Refers to:

  • Plesk 11.0 for Linux
  • Plesk 11.5 for Windows
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Linux
  • MG:90e92d66fc8720ab0abf766a5e81e436
  • MT:42026b505fbcd95d26b617edd9a63ae3
  • MG:11c36720aa614d9102fa3666ed4388d5
  • MG:fce34a3236cf427be335db56c7dba97e
  • MT:696d5776c291c9e9913a3a4a50939239

Created:

2016-11-16 13:02:32 UTC

Modified:

2017-02-13 06:13:06 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Call to a member function sdkInstanceLimits() on a non-object

Symptoms

Plesk interface displays the following error:

    ERROR: Call to a member function sdkInstanceLimits() on a non-object (Limits.php:44)

Cause

The issue is caused by the failed Plesk upgrade. Example, such situation may take a place when Pleks database is upgraded, but Plesk packages not.

Resolution

  1. Check Plesk database version:

    # MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -u admin psa -e"select * from misc where param='version'"
    +---------+-----------+
    | param | val |
    +---------+-----------+
    | version | 012000018 |
    +---------+-----------+
  2. Check Plesk packages versions, example:

    # rpm -qa |grep plesk
    plesk-core-11.5.30-cos6.build115130819.13.x86_64
    plesk-service-node-utilities-11.5.30-cos6.build115130819.13.x86_64
    plesk-base-11.5.30-cos6.build115130819.13.x86_64
    psa-libpam-plesk-11.5.30-cos6.build115130819.13.x86_64
    plesk-web-hosting-11.5.30-cos6.build115130819.13.x86_64
    plesk-management-node-11.5.30-cos6.build115130819.13.x86_64
    drweb-common-6.0.2.1-1302081526pleskel5.noarch
    plesk-skins-11.5.30-601.13081913.noarch

From output above Plesk packages have version 11.5, but Plesk database is 12.0. So in this case it is necessary to roll back Plesk installation to a pre-upgrade state, resolve the issue that caused the upgrade failure, and re-run the upgrade. Use the following article to perform the required actions.

Have more questions? Submit a request
Please sign in to leave a comment.