Accessing Subscription in Plesk Results In Error

Plesk Servers > Plesk Control Panel
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
  1. Login to your server via RDP
  2. Open a command prompt
  3. Run the following command to repair the Plesk DB
    plesk repair db -y
  4. Verify that you are now able to access your subscription in Plesk
Linux
  1. Login to your server via SSH
  2. Run the following command to repair the Plesk DB
    plesk repair db -y
  3. Verify that you are now able to access your subscription in Plesk

Add Feedback