Title: Parse error: syntax error, unexpected T_VARIABLE in /data
Last modified: August 21, 2016

---

# Parse error: syntax error, unexpected T_VARIABLE in /data

 *  Resolved [superlionwolfcomics](https://wordpress.org/support/users/superlionwolfcomics/)
 * (@superlionwolfcomics)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_variable-in-data/)
 * I really like this theme it works really nicely except when going to one of my
   galleries i get the error
 * Parse error: syntax error, unexpected T_VARIABLE in /data/9/3/97/117/3097117/
   user/3451306/htdocs/wordpress1/wp-content/themes/terrifico/archive.php on line
   9
 * any suggestions?
 * the problem url is [http://superlionwolfcomics.com/wordpress1/comic/](http://superlionwolfcomics.com/wordpress1/comic/)

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

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_variable-in-data/#post-4134333)
 * Parse errors:
 * Syntax Error
 * A syntax error means that you have made a mistake while creating your PHP structure.
   You could, for example, be;
    ■ Missing a ; at the end of an individual line. 
   ■ Using curly quotation marks. ■ Missing a curly bracket.
 * When this error appears it will tell you which file the error appears in (functions.
   php for example) and approximately which line (it may not always be the exact
   line so be sure to check just before and just after) in the code.
 * Unexpected:
 * If you are receiving an error which says ‘parse error: unexpected’ this usually
   means that you have forgotten to include a character.
 * If the above info does not help to resolve the issue:
    Try changing to the default
   theme and see if the problem disappears.
 *  Thread Starter [superlionwolfcomics](https://wordpress.org/support/users/superlionwolfcomics/)
 * (@superlionwolfcomics)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_variable-in-data/#post-4134343)
 * thanks very much but I didnt modify the theme switchibg to other themes present
   the page without issues. i was hoping to get some input from the theme creator
   or a programmer who is familiar with this issue in this theme
 *  Theme Author [vpthemes](https://wordpress.org/support/users/vpthemes/)
 * (@vpthemes)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_variable-in-data/#post-4134346)
 * Thank you for pointing out, I do see a typo in file archive.php on line 9. Please
   edit the file and replace line 9: terrificoglobal $data; with: global $data; 
   I will remove the typo with upcoming update of the theme.

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

The topic ‘Parse error: syntax error, unexpected T_VARIABLE in /data’ is closed 
to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/terrifico/1.8.0.1/screenshot.png)
 * Terrifico
 * [Support Threads](https://wordpress.org/support/theme/terrifico/)
 * [Active Topics](https://wordpress.org/support/theme/terrifico/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/terrifico/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/terrifico/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [vpthemes](https://wordpress.org/support/users/vpthemes/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_variable-in-data/#post-4134346)
 * Status: resolved