my site wont display, getting a Parse error...?

Status
Not open for further replies.

mycfotes

New Member
Messages
6
Reaction score
0
Points
1
Parse error: syntax error, unexpected end of file in /home/mycfotes/public_html/wp/wp-includes/query.php on line 2505

I had not had added or made any changes on this site to cause this error..?
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
That is a core WordPress file.
It is normally longer than 2505 lines.
It seems something truncated it.
Might be a hack that only partially finished.
You could try to load it into cPanel FileManager CodeEditor and look at line 2505

One fix might be to
1) Download WordPress - the exact same version you are running. Unzip.
2) Rename your site's query.php to queryOLD.php and replace it with the query.php from the fresh download.
 
Status
Not open for further replies.
Top