Internal Error when listing domains: item.realDomainName is null undefined

Created:

2016-11-16 12:48:45 UTC

Modified:

2017-08-16 16:03:26 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Internal Error when listing domains: item.realDomainName is null undefined

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 11.x for Windows
  • Plesk 11.x for Linux
  • Plesk 12.0 for Windows
  • Plesk 12.0 for Linux
  • Plesk 12.5 for Windows

Symptoms

When I try to browse or sort domains by 'date created' and the following error appears:

Internal error.
TypeError: item.realDomainName is null undefined

Or error may be like this:

Internal error.
TypeError: Unable to get value of the property 'escapeHTML': object is null or undefined undefined

Cause

Database inconsistency was caused by orphan record in psa.domain_aliases .

Resolution

Access Plesk Database

Check table psa.domain_aliases table for consistency with following query:

    mysql> select * from domain_aliases where dom_id NOT in (select id from domains);
Empty set (0.09 sec)

If got any records, backup psa database:

    mysqldump -uadmin -p`cat /etc/psa/.psa.shadow` psa > FILE_NAME.sql

and remove orphaned record from psa.domain_aliases table manually:

    mysql> delete from domain_aliases where dom_id NOT in (select id from domains);

For Plesk 12.5 use plesk repair db utility:

    # plesk repair db -y
Have more questions? Submit a request
Please sign in to leave a comment.