Title: Parse Error: Syntax Error
Last modified: August 21, 2016

---

# Parse Error: Syntax Error

 *  [amcarr11890](https://wordpress.org/support/users/amcarr11890/)
 * (@amcarr11890)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-75/)
 * Hi!
 * I am new to wordpress, the website I’m running was passed down to me. I tried
   downloading a new theme, and now whenever I type in my url I get this error message:
 * Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION
   or T_VAR or ‘}’ in /home/unhgy0/public_html/wp-content/themes/x2/admin/library.
   php on line 138
 * I have no idea what happened, and I have no access to the website at all anymore.
 * PLEASE HELP!

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

 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-75/#post-4464677)
 * Okay, so you will need to have access to the site file on the server to fix this–
   do you have FTP or Cpanel or another file manager set up via your hosting?
 * Once you have that set up, find that theme and delete the folder – that should
   force WP to use a default theme and let you login again.
 *     ```
       wp-content
           themes
               x2 - DELETE or RENAME THIS FOLDER
       ```
   
 *  Thread Starter [amcarr11890](https://wordpress.org/support/users/amcarr11890/)
 * (@amcarr11890)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-75/#post-4464678)
 * haha I have no idea what those are! I guess I will ask the person who originally
   created the website, they should have that information right? And if they don’t,
   is the website lost for good?
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-75/#post-4464679)
 * Yeah, he/she should have it – it’s a way to access files on a server – not part
   of WP – the site itself isn’t wrecked, just temporarily hijacked by that theme’s
   error.
 *  Thread Starter [amcarr11890](https://wordpress.org/support/users/amcarr11890/)
 * (@amcarr11890)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-75/#post-4464682)
 * okay, I sent them an email asking for the information. If they don’t have it 
   or don’t remember it, is there any other way to fix the problem?
    Thanks for 
   all your help!
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-75/#post-4464683)
 * No, unfortunately, not. But in that case, talk to whoever is hosting the site–
   they would be able to give you that info as well.
 *  Thread Starter [amcarr11890](https://wordpress.org/support/users/amcarr11890/)
 * (@amcarr11890)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-75/#post-4464684)
 * what do you mean “hosting”?
 * Sorry 🙁
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-75/#post-4464686)
 * Who and where the server is located/paid for – for example:
 * [http://wordpress.org/hosting/](http://wordpress.org/hosting/)
 * You can find out who that is by using
 * [http://www.whoishostingthis.com/](http://www.whoishostingthis.com/)

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

The topic ‘Parse Error: Syntax Error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 2 participants
 * Last reply from: [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-75/#post-4464686)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
