WordPress.org

Ready to get started?Download WordPress

Forums

Parse Error while editing functions.php file (2 posts)

  1. supratik
    Member
    Posted 1 year ago #

    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\itilstudy.com\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.

  2. michael.mariart
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic