Title: syntax error, unexpected
Last modified: August 20, 2016

---

# syntax error, unexpected

 *  [korosh1977](https://wordpress.org/support/users/korosh1977/)
 * (@korosh1977)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/syntax-error-unexpected/)
 * hello sirs in wordpress.org , i did make a mistake when i add a weather code 
   in the wrong place (in the Editor of the theme option ),
    when i try to go to
   my website (kourani.net), the folowing message reveal :
 * Parse error: syntax error, unexpected ‘<‘ in /home/korosh/public_html/wp-content/
   themes/twentyeleven/inc/theme-options.php on line 450
 * how can i solve this problem ?…

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

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/syntax-error-unexpected/#post-2721786)
 * -first, try switching to the UNEDITED defaul Twenty Eleven and see if that works.
 *  Thread Starter [korosh1977](https://wordpress.org/support/users/korosh1977/)
 * (@korosh1977)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/syntax-error-unexpected/#post-2721795)
 * thank you for taking care Mr or Mrs T-P…
    how can i switch to the UNEDITED default
   Twenty Eleven ?
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/syntax-error-unexpected/#post-2721806)
 * currently, are you using twenty eleven?
 * or
 * are you using a child theme of twenty eleven?
 *  Thread Starter [korosh1977](https://wordpress.org/support/users/korosh1977/)
 * (@korosh1977)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/syntax-error-unexpected/#post-2721811)
 * Im using twenty eleven
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/syntax-error-unexpected/#post-2721813)
 * have you edited any of the templates of twenty eleven?
 *  Thread Starter [korosh1977](https://wordpress.org/support/users/korosh1977/)
 * (@korosh1977)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/syntax-error-unexpected/#post-2721815)
 * yes i wanted to add a weather code, i made that wrongly (editing at one of the
   templates)
 *  Thread Starter [korosh1977](https://wordpress.org/support/users/korosh1977/)
 * (@korosh1977)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/syntax-error-unexpected/#post-2721818)
 * you can notice that from the message :
 * Parse error: syntax error, unexpected ‘<‘ in /home/korosh/public_html/wp-content/
   themes/twentyeleven/inc/theme-options.php on line 450
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/syntax-error-unexpected/#post-2721829)
 * This is the reason the WP codex recommends mcreating a child theme. You can read
   more about the [child theme here](http://codex.wordpress.org/Child_Themes).
 * You asked in your previous post:
 * > how can i switch to the UNEDITED default Twenty Eleven ?
 * -access your server via FTP or SFTP or whatever file management application your
   host provides, rename your current Twentyeleven something like twentyeleven_old
 * -download a fresh copy of the twentyeleven, and upload this UNEDITED twentyeleven.
   See if it works.

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

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

## Tags

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

 * 8 replies
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/syntax-error-unexpected/#post-2721829)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
