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

---

# Parse error: syntax error, unexpected T_STRING

 *  [timothya](https://wordpress.org/support/users/timothya/)
 * (@timothya)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-12/)
 * I have been getting various errors recently since my upgrade to 2.8.4.
 * …/wp-includes/default-filters.php on line 205
 * Warning: Unexpected character in input: ”’ (ASCII=39) state=1 in …/index.php 
   on line 17
 * Parse error: syntax error, unexpected ‘.’ in …/index.php on line 17
 * I checked the files, and it appears someone someone has been able to inject malicious
   code (causes a virus from a .ru site) into various files.
 * …other filed changed have included wp-admin/index.php, wp-admin/index-extra.php,/
   wp-includes/default-widgets.php and various plugin and template files, specifically
   anything with an index.php.
 * I’ve checked my permissions, and they are correct. I’m using various security
   plugins including TimesToCome Security Plugin, WP Security Scan, and Bad Behavior.
 * The sites attacked are all hosted by GoDaddy… don’t know if that may be an issue,
   but I’ve been moving away from GoDaddy and my sites hosted by JustHost have not
   been attacked.
 * Any idea how to stop this?

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-12/#post-1188466)
 * General advice: [http://wordpress.org/support/topic/268083#post-1065779](http://wordpress.org/support/topic/268083#post-1065779)
 *  Thread Starter [timothya](https://wordpress.org/support/users/timothya/)
 * (@timothya)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-12/#post-1188470)
 * Thanks. Interesting thing about that thread is that most (if not all) the people
   affected by this “iFrame hack” use GoDaddy.

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

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

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [timothya](https://wordpress.org/support/users/timothya/)
 * Last activity: [16 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-12/#post-1188470)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
