Title: Parse error: syntax error, unexpected T_STRING in &#8230; post.php on line 3104
Last modified: August 19, 2016

---

# Parse error: syntax error, unexpected T_STRING in … post.php on line 3104

 *  Resolved [relegated](https://wordpress.org/support/users/relegated/)
 * (@relegated)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-in-postphp-on-line-3104/)
 * I am getting the following error, I believe it might be related to my upgrade
   from 2.8.1 to 2.8.2 but I could be wrong. Not sure how to go about fixing the
   problem, I have SSH access but can’t access anything else on the site.
 * Parse error: syntax error, unexpected T_STRING in /var/www/site1/wp-includes/
   post.php on line 3104

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

 *  [dewpointproductions](https://wordpress.org/support/users/dewpointproductions/)
 * (@dewpointproductions)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-in-postphp-on-line-3104/#post-1156597)
 * relegated,
    there are two or three common reasons that you would get a T_String
   error but if you haven’t messed with the code on your site and you just did an
   upgrade the first thing to try is reinstalling the files for the upgrade. I recommend
   downloading the files and then upload them via ftp.
 * Also, make sure you have enough disk space on your hosting account for the upgrade,
   if your out of disk space this could cause files not to be updated properly.
 *  Thread Starter [relegated](https://wordpress.org/support/users/relegated/)
 * (@relegated)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-in-postphp-on-line-3104/#post-1156724)
 * I manually upgraded and it resolved the problem, thanks.

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

The topic ‘Parse error: syntax error, unexpected T_STRING in … post.php on line 
3104’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 2 replies
 * 2 participants
 * Last reply from: [relegated](https://wordpress.org/support/users/relegated/)
 * Last activity: [16 years, 10 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-in-postphp-on-line-3104/#post-1156724)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
