Title: Parse error: syntax error, unexpected T_VARIABLE
Last modified: August 19, 2016

---

# Parse error: syntax error, unexpected T_VARIABLE

 *  Resolved [orcik](https://wordpress.org/support/users/orcik/)
 * (@orcik)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_variable-1/)
 * Hi,
 * My blog was hacked so, I deleted all wordpress files and uploaded new files. 
   I edited the config file and I tried to start from my old database. However I
   got T_Variable Error. Although it’s same as my old config.php file… Could you
   help me with that…
 * Thanks

Viewing 1 replies (of 1 total)

 *  Thread Starter [orcik](https://wordpress.org/support/users/orcik/)
 * (@orcik)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_variable-1/#post-1501444)
 * I solved the problem… Check the line above the error and make sure there is a
   semi column.

Viewing 1 replies (of 1 total)

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [orcik](https://wordpress.org/support/users/orcik/)
 * Last activity: [15 years, 11 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_variable-1/#post-1501444)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
