Title: Parse error: syntax error, unexpected T_STRING
Last modified: September 18, 2018

---

# Parse error: syntax error, unexpected T_STRING

 *  [BobbiL](https://wordpress.org/support/users/bobbil/)
 * (@bobbil)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-84/)
 * I just installed a new plugin, social warfare, activated it, then got this: Parse
   error: syntax error, unexpected T_STRING in /home/content/47/8837247/html/wp-
   content/plugins/social-warfare/lib/utilities/SWP_Utility_Trait.php on line 25.
   I can’t get past this screen when trying to access my site. Please help.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fparse-error-syntax-error-unexpected-t_string-84%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Dion](https://wordpress.org/support/users/diondesigns/)
 * (@diondesigns)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-84/#post-10697875)
 * You’ll need to use FTP, or the file manager in your hosting control panel, to
   rename the `wp-content/plugins/social-warfare` directory. That will deactivate
   the plugin, which will let you access your site again. You should then delete
   the plugin and report the fatal error to its authors.
 *  Thread Starter [BobbiL](https://wordpress.org/support/users/bobbil/)
 * (@bobbil)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-84/#post-10697923)
 * Thank you! That worked!

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

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

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

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
