Plesk for Windows
kb: technical
Applicable to:
- Plesk for Windows
Symptoms
- Plesk Obsidian running on a Windows Server
- One of the following errors is shown when logging into the Plesk GUI:
ERROR: Call to a member function getAttribute() on a non-object (DefPackageMng.php:231)
ERROR: Call to a member function getAttribute() on null (DefPackageMng.php:258)
Cause
The file %plesk_dir%\admin\db\defpackagemng.xml
is either absent or corrupted.
Resolution
- Connect to the server via RDP
- Move the file to another location (if it exists)
- Run Command Prompt as the Windows Administrator
- Execute the command below to regenerate the
defpackagemng.xml
file:C:\> "%plesk_bin%\defpackagemng.exe" --get --force
Comments
0 comments
Please sign in to leave a comment.