Title: Parse Error
Last modified: March 3, 2017

---

# Parse Error

 *  [Ashley](https://wordpress.org/support/users/haallc/)
 * (@haallc)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/parse-error-434/)
 * I’m getting this error message “Parse error: syntax error, unexpected T_FUNCTION”
   I pasted a plugin code into my theme section. I tried opening in FileZilla but
   it won’t connect to server. Please help, also I am very very new to this so simple
   step by step instructions would be great.

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

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [9 years, 3 months ago](https://wordpress.org/support/topic/parse-error-434/#post-8870742)
 * If you broke the site by editing PHP via appearance->editor, you need to access
   the site to fix the file you were editing either via FTP or the file manager 
   app in your hosting control panel.
 * NEVER edit php files via appearance->editor. (Now you know why.)
 *  Thread Starter [Ashley](https://wordpress.org/support/users/haallc/)
 * (@haallc)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/parse-error-434/#post-8870761)
 * How would I get to where I can fix it? Again, I’m new to this..step by step instructions.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [9 years, 3 months ago](https://wordpress.org/support/topic/parse-error-434/#post-8870769)
 * Contact your host regarding FTP and/or control panel access. Navigate to the 
   file (wp-content/themes/yourtheme/), download the file you were editing and remove
   the stuff you added, then upload it.

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

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

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/parse-error-434/#post-8870769)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
