Title: Parse error: syntax error, unexpected T_STRING
Last modified: August 21, 2016

---

# Parse error: syntax error, unexpected T_STRING

 *  [ffinch815](https://wordpress.org/support/users/ffinch815/)
 * (@ffinch815)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-38/)
 * After trying to verify my site through Bing, by entering their code into my header.
   php in my themes editor, then finding out that it didn’t work, I removed the 
   code, and only the code, and now I get “Parse error: syntax error, unexpected
   T_STRING in /home/content/47/10181747/html/wp-content/themes/gitem/header.php
   on line 27” when I try to go to my blog.
 * I don’t understand what went wrong. Please help.
    Forrest

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-38/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-38/page/2/?output_format=md)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-38/#post-3650326)
 * Try removing the changes you made to the header.php file. You seem to have introduced
   an error.
 *  Thread Starter [ffinch815](https://wordpress.org/support/users/ffinch815/)
 * (@ffinch815)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-38/#post-3650335)
 * I removed the code given to me by Bing, after placing in the editor. It’s when
   I removed the code from the editor is when I got the error message. I’m at a 
   total loss here. Nothing else was changed.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-38/#post-3650338)
 * Grab a fresh copy of your theme, extract the header, php file and, using [FTP](http://codex.wordpress.org/FTP_Clients)(
   or whatever file management application your host provides), upload the file 
   to the wp-content/themes/gitem folder.
 *  Thread Starter [ffinch815](https://wordpress.org/support/users/ffinch815/)
 * (@ffinch815)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-38/#post-3650343)
 * I don’t mean to sound like a dummy, but how can I get a fresh copy of the theme?
   I tried earlier to to re-install it but cannot.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-38/#post-3650345)
 * Where did you download it from in the first place?
 *  Thread Starter [ffinch815](https://wordpress.org/support/users/ffinch815/)
 * (@ffinch815)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-38/#post-3650349)
 * WordPress, but it’s not giving me the option to re-install.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-38/#post-3650351)
 * Do you know the name of the theme?
 *  Thread Starter [ffinch815](https://wordpress.org/support/users/ffinch815/)
 * (@ffinch815)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-38/#post-3650354)
 * Gitem, You guessed right.
 *  Thread Starter [ffinch815](https://wordpress.org/support/users/ffinch815/)
 * (@ffinch815)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-38/#post-3650361)
 * Would I lose my content if I used a different theme?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-38/#post-3650370)
 * No – most of your content is stored in your database. The only things uou would
   loose are any widgets or custom menus as these are stored on a per-theme basis.
   So they would have to be set up again for the new theme.
 * You can download a fresh copy of the theme from [http://wordpress.org/extend/themes/gitem](http://wordpress.org/extend/themes/gitem)
   Once downloaded to your computer, you’d have to unpack the download and extract
   the header.php file to upload to your site using FTP.
 *  Thread Starter [ffinch815](https://wordpress.org/support/users/ffinch815/)
 * (@ffinch815)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-38/#post-3650374)
 * Thanks a million! I’ll get right on it.
 *  Thread Starter [ffinch815](https://wordpress.org/support/users/ffinch815/)
 * (@ffinch815)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-38/#post-3650380)
 * One more question. Will that automatically overwrite the current file?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-38/#post-3650381)
 * In 99% of cases, yes but – just to be sure – we usually recommend that you delete
   the old copy of header.php just before you upload the fresh copy.
 *  Thread Starter [ffinch815](https://wordpress.org/support/users/ffinch815/)
 * (@ffinch815)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-38/#post-3650382)
 * Thanks again. You’ve been a great help.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-38/#post-3650385)
 * No problem 🙂

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-38/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-38/page/2/?output_format=md)

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

## Tags

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

 * 22 replies
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [12 years, 12 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-38/page/2/#post-3650468)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
