Title: Parse error: syntax error, unexpected &#8216;}&#8217;
Last modified: January 13, 2017

---

# Parse error: syntax error, unexpected ‘}’

 *  Resolved [thesoundoftech](https://wordpress.org/support/users/thesoundoftech/)
 * (@thesoundoftech)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-187/)
 * Hey,
 * Ive been working on our companies online store and I looked up online how to 
   remove the tags from a product page, they told me to paste a line of code in 
   the funtions.php, so I did.
 * The code didnt work so I deleted it. But that caused me to get a “Parse error:
   syntax error, unexpected ‘}'” error. I am now locked out and we cant get back
   in or view the website.
 * Is there a way to fix that error easily. I tried to download filezilla but it
   wouldn’t download on the computer.
 * We have someone that remotely looks after the website who owns the account. We
   have no idea what the email is at this point and we can’t get a hold of that 
   person at the moment. I told my boss and she said that if i can’t get it fixed
   now that we will have to wait till we can get access of that person.
 * So how do I fix that error? Thanks all
 * Stephen

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-187/#post-8649279)
 * A syntax error indicates that you may have made a mistake while creating your
   PHP structure. When this error appears it will tell you which file the error 
   appears in (e.g., functions.php) and approximately which line (it may not always
   be the exact line so be sure to check just before and just after) in the code.
   Try:
    – fix PHP structure in the file around the line indicated in the error 
   message – or, upload a fresh copy (unedited) of this file – or, upload a fresh
   copy of your theme. If you immediately need to get in the dashboard, you can 
   switch to the default theme by renaming your currently active theme’s folder 
   inside /wp-content/themes/ and adding “-old” to the end of the folder name using
   FTP or SFTP or any whatever file management application your host provides.
 *  Thread Starter [thesoundoftech](https://wordpress.org/support/users/thesoundoftech/)
 * (@thesoundoftech)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-187/#post-8649314)
 * Thanks,
    As I know of, we have no access to the route files on our server, they
   are either hosted on the wordpress servers or on the computer of the person that
   originally made/managed by. (as stated above)
 * I have no way of login into or editing the code as i cant login to wordpress 
   and our whole website is currently down because of it.
    If I could edit the code
   then I would cause i think i know where the problem is. Is there any way for 
   me to access the php file and edit it if its not on our work server?
 * Thanks
    Stephen
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-187/#post-8649356)
 * > Is there any way for me to access the php file and edit it …
 * – Please check the error logs on your server for a more specific error message
   and see why it’s failing. If you need help locating them, ask your hosting provider
   to help you with that.
    – If you cannot find error logs or if you don’t find 
   any helpful info in the error logs, try [Enabling debugging ](http://codex.wordpress.org/Debugging_in_WordPress)
 *  Thread Starter [thesoundoftech](https://wordpress.org/support/users/thesoundoftech/)
 * (@thesoundoftech)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-187/#post-8649388)
 * Don’t worry too much now, we were just able to get to our website manager, and
   they’ll get that sorted out.
 * Thanks
    Stephen
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-187/#post-8649403)
 * Glad to know it 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Parse error: syntax error, unexpected ‘}’’ is closed to new replies.

## Tags

 * [locked out](https://wordpress.org/support/topic-tag/locked-out/)
 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-187/#post-8649403)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
