Plesk for Windows
kb: technical
Applicable to:
- Plesk for Windows
Symptoms
Plesk is not accessible, with the following error:
Type GraphQL\Error\SyntaxError
Message Syntax Error: Unexpected Name "MainMenu"
File Parser.php
Line 433
Cause
There are corrupted or missing files inside %plesk_dir%\admin\cp\queries.
Resolution
Replace the corrupted/missing files with ones from a new installation:
- Log in over RDP
-
Open a Command Prompt and check the Plesk version
plesk -v
Product version: Plesk Obsidian 18.0.68.1 - Open the Plesk for Windows packages page in a web browser
- Navigate to PANEL-WIN_<PLESK_VERSION>/ > dist-windows/
- Download
plesk-control-panel.zipand extract it - Rename
%plesk_dir%\admin\cp\queriesto something else with the File Explorer - Move the new
queriesfolder to%plesk_dir%\admin\cp\queries
Note: These files were likely removed or corrupted by antivirus software. Make sure to exclude the Plesk installation in the antivirus software
Comments
Please sign in to leave a comment.