Title: Parse error: syntax error &#8211; Locked out without credentials
Last modified: August 30, 2016

---

# Parse error: syntax error – Locked out without credentials

 *  [Chapera](https://wordpress.org/support/users/chapera/)
 * (@chapera)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-locked-out-without-credentials/)
 * I am getting the following error: “Parse error: syntax error, unexpected”, which
   has locked me out of the administration of the site entirely and the website 
   itself shows that error.
 * This was due to editing the functions.php page to add Google Analytics code, 
   which appears to be a common error due to a lot of the research I’ve been doing
   today after this mistake.
 * The biggest problem is that I was using old log in credentials from 2011 that
   were set up by a former employee of our company. I had logged in with the username
   and password that was passed along, and I don’t have any place to reference the
   host name or port number. I obviously logged in with a username and password 
   that was left behind by the former employee, but I think I may have accidentally“
   reset” the password when trying to get into these forums, sending it to an invalid
   email address (unless the log in info for these forums are not linked).
 * So, I don’t know how I will get into an FTP client to try to fix this code.
 * Thanks for any help or direction that could be provided!

Viewing 1 replies (of 1 total)

 *  [tech55541](https://wordpress.org/support/users/tech55541/)
 * (@tech55541)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-locked-out-without-credentials/#post-6427267)
 * Contact your hosting provider. That is the only way you will be able to fix it.

Viewing 1 replies (of 1 total)

The topic ‘Parse error: syntax error – Locked out without credentials’ is closed
to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [tech55541](https://wordpress.org/support/users/tech55541/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-locked-out-without-credentials/#post-6427267)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
