Support » Fixing WordPress » Parse Error while editing functions.php file

  • supratik


    I tried to edit the Functions.php file and something went wrong and I got an error saying:
    “Parse error: syntax error, unexpected ‘<‘ in E:\vhosts\\httpdocs\blog\wp-content\themes\esplanade\functions.php on line 1945”

    I am using Theme Esplanade and now I cant even log into my account.
    I am not aware of using FTP.
    So, could you please help me in reverting my site to an earlier good state.

Viewing 1 replies (of 1 total)
  • michael.mariart


    Unless you have backups there, then you won’t be able to restore anything. If you are lucky, your hosting company should have backups and they should be able to revert to yesterday or last week sometime. There’s no built-in backup system built into WordPress because three’s just to many different solutions around.

    If you are going to muck around with the functions.php file I would stongly suggest that you take the time to learn about how to use FTP, how to edit files on your local PC and then upload them to your web server. This will really help you when (not if… trust me) this happens again.

Viewing 1 replies (of 1 total)
  • The topic ‘Parse Error while editing functions.php file’ is closed to new replies.