The following error appears in Plesk UI during an attempt to open a domain control panel in Plesk, or open the Home > Domains link in the left navigation bar, or login to Plesk:
PLESK_INFO: Internal error: Unable to load object of type BsDomain with id=3: Domain does not exist.
The issue is caused by a
psa database inconsistency. It occurs if a record in the
domain_aliases.dom_id columns of a psa database points to a non-existing domain ID.
For Plesk 12.5 or higher try to use the command below:
# plesk repair db
Note: Refer to the documentation for details.
Check the links to
<id from error>in the
# plesk db “SELECT * FROM domains WHERE webspace_id=<id from error>“
Note: The above query will return a list of domains that belong to a broken webspace, if there are any.
Check the domain-related tables and domain aliases:
# for table in domain_aliases hosting dom_param DomainServices subdomains;do echo TABLE: $table; plesk db “select * from $table where dom_id=<id from error>“;done
C:> for %T in (domain_aliases,hosting,dom_param,DomainServices,subdomains) do echo %T && plesk db “select * from %T where dom_id=13”
Note: This query will return domain aliases that belong to the missing
dom_idand also entries in related tables that contain information about the domain.