Title: unexpected T_STRING
Last modified: August 19, 2016

---

# unexpected T_STRING

 *  Resolved [morelen](https://wordpress.org/support/users/morelen/)
 * (@morelen)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/unexpected-t_string-1/)
 * I created a theme using a generator (since I’m new at coding for blogs). Everything
   works fine except the single.php file. Here is the message I get:
 * > Parse error: syntax error, unexpected T_STRING in /sitename/blog/wp-content/
   > themes/themename/single.php on line **30**
 * I have searched the Internet, looked through topics here, and done everything
   I have read to do and I _still_ cannot get it to work. [Here’s the code.](http://wordpress.pastebin.ca/1013762)

Viewing 1 replies (of 1 total)

 *  Thread Starter [morelen](https://wordpress.org/support/users/morelen/)
 * (@morelen)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/unexpected-t_string-1/#post-761839)
 * Wouldn’t you know that as soon as I get this posted, I figure out the problem.
   ^^ So this is resolved.

Viewing 1 replies (of 1 total)

The topic ‘unexpected T_STRING’ is closed to new replies.

## Tags

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

 * 1 reply
 * 1 participant
 * Last reply from: [morelen](https://wordpress.org/support/users/morelen/)
 * Last activity: [18 years, 1 month ago](https://wordpress.org/support/topic/unexpected-t_string-1/#post-761839)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
