Title: Parse error: syntax error, unexpected
Last modified: April 25, 2017

---

# Parse error: syntax error, unexpected

 *  [swilliamsgewalker](https://wordpress.org/support/users/swilliamsgewalker/)
 * (@swilliamsgewalker)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-196/)
 * So I accidently did something to my Enigma: Theme Functions (functions.php) file
   and I do’t know how to fix it. I get the following error “Parse error: syntax
   error, unexpected ‘?’ in /data/24/4/158/83/4321735/user/4962399/htdocs/wordpress1/
   wp-content/themes/enigma/functions.php on line 511” . Below is the code from 
   the file, what am I looking for?
 * _Large amount of code edited out by Moderator._
    -  This topic was modified 9 years, 1 month ago by [kmessinger](https://wordpress.org/support/users/kmessinger/).
    -  This topic was modified 9 years, 1 month ago by [kmessinger](https://wordpress.org/support/users/kmessinger/).
    -  This topic was modified 9 years, 1 month ago by [kmessinger](https://wordpress.org/support/users/kmessinger/).

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

 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-196/#post-9067165)
 * Use pastebin.com or some other service like that if you need to post code.
 * Try here for support
 * [https://wordpress.org/support/theme/enigma](https://wordpress.org/support/theme/enigma)
 *  [TorontoDigits](https://wordpress.org/support/users/torontodigits/)
 * (@torontodigits)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-196/#post-9067181)
 * Hi,
 * It’s difficult to understand the code here due to some extra spaces and characters.
   Please send us file on this email _[moderator note – removed email address]_ 
   We will send you back after removing error.
 * Thanks & Regards,
    TD
    -  This reply was modified 9 years, 1 month ago by [stephencottontail](https://wordpress.org/support/users/stephencottontail/).
      Reason: removed email
    -  This reply was modified 9 years, 1 month ago by [bdbrown](https://wordpress.org/support/users/bdbrown/).
 *  Thread Starter [swilliamsgewalker](https://wordpress.org/support/users/swilliamsgewalker/)
 * (@swilliamsgewalker)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-196/#post-9067198)
 * I can’t even log into Dashboard anymore
 *  [stephencottontail](https://wordpress.org/support/users/stephencottontail/)
 * (@stephencottontail)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-196/#post-9067214)
 * [@torontodigits](https://wordpress.org/support/users/torontodigits/): Thanks 
   for helping out, but please do not ask people to contact you off the forums.
 *  Thread Starter [swilliamsgewalker](https://wordpress.org/support/users/swilliamsgewalker/)
 * (@swilliamsgewalker)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-196/#post-9067220)
 * Is there anything I can do to fix this?
 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-196/#post-9067285)
 * You should upload the theme again.
 *  [TorontoDigits](https://wordpress.org/support/users/torontodigits/)
 * (@torontodigits)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-196/#post-9067368)
 * [@stephencottontail](https://wordpress.org/support/users/stephencottontail/),
   Thanks for the guidance. We will take care next time.
 * [@swilliamsgewalker](https://wordpress.org/support/users/swilliamsgewalker/),
   Please upload your code at pastebin.com as [@kmessinger](https://wordpress.org/support/users/kmessinger/)
   said and share us a link here so we can solve your problem.
 * Regards,
    TD

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

The topic ‘Parse error: syntax error, unexpected’ 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/)
 * 7 replies
 * 4 participants
 * Last reply from: [TorontoDigits](https://wordpress.org/support/users/torontodigits/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-196/#post-9067368)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
