WordPress.org

Forums

[resolved] Help Parse Error!! (4 posts)

  1. mdrunner1390
    Member
    Posted 1 year ago #

    I was editing the theme.php to remove two of the social media icons from the home page. Now I have this message coming up and I can't get into WordPress at all. I use GoDaddy as a host and can't even get in through there. The error that keeps coming up is as follows:

    Parse error: syntax error, unexpected ';', expecting ')' in /home/content/59/11559859/html/wp-content/themes/golden-eagle-lite/functions/theme-options.php on line 254

    The website is scrummasteringllc.com. The backup I have is a plugin on WordPress. I have no idea what to do. Please help!

  2. hiphopinenglish
    Member
    Posted 1 year ago #

    You have a PHP syntax error on line 254 (or maybe 253). You will need FTP/Panel access to your website's files in order to fix this. If you have very little knowledge of PHP syntax, read up on it. Remember to back up your site regularly, and try to avoid editing a live site where possible.

  3. kmessinger
    Moderator
    Posted 1 year ago #

    Using ftp or the file manager your host provides replace functions/theme-options.php with a copy of the original file.

  4. mdrunner1390
    Member
    Posted 1 year ago #

    Thank you both so much!

Topic Closed

This topic has been closed to new replies.

About this Topic