Issue
When you attempt to access a subscription (website) in Plesk 12.5 or above, you could get an error like the one listed below:
Call to a member function getPackage() on null (Dns.php:46)
Cause
The reason for this error is database inconsistency with in Plesk's database (PSA)
Resolution
To resolve this issue you can do the following:
Please Note: The instructions below are for our dedicated server customers only, if you don't have access to the server please contact our support team by submitting a ticket through your control panel
Windows
- Login to your server via RDP
- Open a command prompt
- Run the following command to repair the Plesk DB
plesk repair db -y
-
Verify that you are now able to access your subscription in Plesk
Linux
- Login to your server via SSH
- Run the following command to repair the Plesk DB
plesk repair db -y
- Verify that you are now able to access your subscription in Plesk
Article ID: 2572, Created: June 9, 2017 at 5:41 PM, Modified: June 9, 2017 at 5:41 PM