Title: Parse error: syntax error
Last modified: August 19, 2016

---

# Parse error: syntax error

 *  [bronco78](https://wordpress.org/support/users/bronco78/)
 * (@bronco78)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-27/)
 * I was trying to add a plugin and it told me to add code to my theme functions.
   php and I did it and got this error.
 * my site is [http://www.endsleepapnea.com](http://www.endsleepapnea.com)
 * Parse error: syntax error, unexpected $end in /home/content/00/7268900/html/wp-
   content/themes/magicblue/functions.php on line 25
 * Now I cant even log into WP 🙁
 * Is there anyone that can help me or anyway I can correct this without haveing
   to restart my site?

Viewing 1 replies (of 1 total)

 *  [Rev. Voodoo](https://wordpress.org/support/users/rvoodoo/)
 * (@rvoodoo)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-27/#post-1977013)
 * you would need to use ftp, or a file manager if your host offers one
 * If you can fix the error then navigate to wp-content -> themes -> magicblue -
   > functions.php and fix the problem
 * Otherwise you will need to delete/rename the magicblue folder (deletin or renaming
   the active theme makes WP revert to twentyten, which lets you back in)
 * Or you can upload a fresh functions.php in place of the one you made the error
   in
 * All of these solutions require you to work directly with the files using either
   ftp or file manager

Viewing 1 replies (of 1 total)

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

## Tags

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

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 1 reply
 * 2 participants
 * Last reply from: [Rev. Voodoo](https://wordpress.org/support/users/rvoodoo/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-27/#post-1977013)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
