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

Created:

2016-11-16 13:02:32 UTC

Modified:

2017-04-24 11:19:55 UTC

0

Was this article helpful?


Have more questions?

Submit a request

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

Applicable to:

  • Plesk 11.0 for Linux
  • Plesk 11.5 for Windows
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Linux

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.