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

---

# HELP: Parse error: syntax error, unexpected T_STRING

 *  Resolved [dazario](https://wordpress.org/support/users/dazario/)
 * (@dazario)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/help-parse-error-syntax-error-unexpected-t_string-2/)
 * Hi all, first post here so be gentle!
    I have had an issue appear on one of my
   sites and I am not sure why. Getting the following error message:
 * Parse error: syntax error, unexpected T_STRING in \\BNE3NAS2-CONTENT1\CONTENT1\
   vs451063\brishair\wwwroot\wp-content\themes\bsh\functions.php on line 245
 * Here is what line 245 of the code looks like:
 * `<td width="80%"><? if(get_settings($value['id'])){ $checked = "checked="""; }
   else{ $checked = ""; } ?>`
 * Any ideas on what might be the cause?

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

 *  [RossMitchell](https://wordpress.org/support/users/rossmitchell/)
 * (@rossmitchell)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/help-parse-error-syntax-error-unexpected-t_string-2/#post-5178741)
 * The tripple quote looks wrong. `"checked=""";`
    Suspect that the code should 
   be: `<td width="80%"><? if(get_settings($value['id'])){ $checked = "checked";}
   else{ $checked = ""; } ?>`
 * Have you done any edits ?
 * Hope you are using a child theme. If not, and you are making theme changes then
   start now with creating a child theme [http://codex.wordpress.org/Child_Themes](http://codex.wordpress.org/Child_Themes)
 *  Thread Starter [dazario](https://wordpress.org/support/users/dazario/)
 * (@dazario)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/help-parse-error-syntax-error-unexpected-t_string-2/#post-5178829)
 * Thank you so much – I copy and pasted your exact code and it worked a charm 🙂
   
   Life saver!! 🙂
 *  [toptenin](https://wordpress.org/support/users/toptenin/)
 * (@toptenin)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/help-parse-error-syntax-error-unexpected-t_string-2/#post-5178992)
 * Hi Ross,
 * Kindly help me on
 * Parse error: syntax error, unexpected ‘weblizar_get_options’ (T_STRING), expecting‘(‘
   in /home/toptenin/public_html/wp-content/themes/enigma/functions.php on line 
   104
 * While i was editing function.php i faced this issue. Even after i downloaded 
   a fresh file and pasted also not getting resolved.
    Hope all my post will not
   be lost because of this. now i am unable to do anything on my site [http://toptenintheworld.com/](http://toptenintheworld.com/)
 *  [Nbright](https://wordpress.org/support/users/nbright/)
 * (@nbright)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/help-parse-error-syntax-error-unexpected-t_string-2/#post-5179002)
 * I and getting this code (Parse error: syntax error, unexpected T_STRING) also.
   I was working on someone else’s site and now it won’t even let me log in to the
   site.
 * What can I do?

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

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

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 4 participants
 * Last reply from: [Nbright](https://wordpress.org/support/users/nbright/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/help-parse-error-syntax-error-unexpected-t_string-2/#post-5179002)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
