Title: Parse error: syntax error, unexpected &#039;
Last modified: August 21, 2016

---

# Parse error: syntax error, unexpected '

 *  Resolved [JJedi00](https://wordpress.org/support/users/jjedi00/)
 * (@jjedi00)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-90/)
 * I tried installing the Google Analytics code on someone else’s site. The site
   is using a Genesis-Agency Child theme. The code was not working in Gensis-Theme
   Settings so I put it into the functions.php code (as found in a forum).
 * As soon as I did that, I got the following error message: Parse error: syntax
   error, unexpected ‘<‘ in /home/admin12/public_html/wp-content/themes/agency/functions.
   php on line 77
 * Now I cannot log into wp-admin and this same message pops up when you go the 
   website ([http://www.weloveyourtaxes.com/](http://www.weloveyourtaxes.com/))
 * Once I receive access to CPanel (the password given is not working), what can
   I do to fix this? Can I load a back-up from yesterday on CPanel or do I just 
   need to copy functions.php?

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

 *  [Keith](https://wordpress.org/support/users/keithdriscoll/)
 * (@keithdriscoll)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-90/#post-4033548)
 * You need to undo the changes you made 🙂
 * The error is telling you exactly where it is. You need to use cPanel to browse
   to public_html/wp-content/themes/agency/functions.php. Open the file for editing
   using cPanel and scroll down to about line 77 and remove the code you inserted.
   For Future reference always add comments in your code when you edit it so you
   know what to remove if you break the site.
 *  Thread Starter [JJedi00](https://wordpress.org/support/users/jjedi00/)
 * (@jjedi00)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-90/#post-4033791)
 * Thanks, Keith Driscoll, for the response. My big issue was just getting into 
   cPanel and locating the functions.php file in File Manager. Even though it was
   deleted from WordPress, it was still in the original php in cPanel. Back and 
   up and running.
 *  [Gsteinbach](https://wordpress.org/support/users/gsteinbach/)
 * (@gsteinbach)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-90/#post-4033832)
 * Keith THANKS So much I am new to wordpress and your fix saved me. I immediately
   saw the extra space I wasn’t seeing in the wordpress edit. Thanks for the help
   I was freaking with a deadline looming over me and my last few edits creating
   what seemed like a crash.

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

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

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [Gsteinbach](https://wordpress.org/support/users/gsteinbach/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-90/#post-4033832)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
