Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Plesk Error: Call to a member function sdkInstanceLimits() on a non-object  (Read 3010 times)

0 Members and 1 Guest are viewing this topic.

Jithin M

  • Guest
Hi,

After upgrading the Plesk to version 12, there are chances that the following error is obtained on accessing the Plesk panel interface:

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


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


This issue can be resolved by following the steps given below:

1) Check Plesk database version:

Code: [Select]
# mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -e"select * from misc where param='version'"
+---------+-----------+
| param   | val       |
+---------+-----------+
| version | 012000018 |
+---------+-----------+

2) Check Plesk packages versions, example:

Code: [Select]
# 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

As you can see 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.

It works ;)