• I placed */ in my code in functions.php and got an error. I went back by hitting the arrow “back” key, and delete what I had entered, but I still get this error.

    Parse error: syntax error, unexpected ‘*’, expecting ‘{‘ in /home3/suchey/public_html/wp-content/themes/pinboard/functions.php on line 1279

    I copied and pasted what was currently there into another document to save it, and went to my downloaded folder for my theme on my computer. I found the functions.php section, triple checked it was the exact html I needed, and copied and pasted it into my CSS so it would be the exact default info. It still did not work.

    When I open another window and try to go to my website https://blissfulmiss.com, I get the error and am locked out. Yet I still have a separate window open where I can make changes to functions.php. I’m wondering, though, that once I created that error, there is no fixing it this way.

Viewing 3 replies - 1 through 3 (of 3 total)
  • can you post the bit of code that it is having problems with – 5 lines before and after 1279 (inc 1279) should do. it will be a simple syntax error !

    Replace your theme with a fresh download of it and see if it solves the problem. Use FTP/ your hosting control panel to replace the theme.

    Thread Starter Jennifer Suchey

    (@suchey)

    Thanks Krishma. That’s what I ended up doing. It took some doing, but I got ‘er done. ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Syntax error . . . locking me out’ is closed to new replies.