Title: Upgrading to 4.0.1 fixed post.php parse error
Last modified: August 22, 2016

---

# Upgrading to 4.0.1 fixed post.php parse error

 *  [onebitrocket](https://wordpress.org/support/users/onebitrocket/)
 * (@onebitrocket)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/upgrading-to-401-fixed-postphp-parse-error/)
 * In the past few days I’ve had reports that users weren’t able to access my site.
   They were just getting a blank page.
 * I checked the error_log and found this.
 * [22-Nov-2014 22:07:41 UTC] PHP Parse error: syntax error, unexpected end of file
   in /mysite/wp-includes/post.php on line 235
 * I was running v4.0 and I force upgraded to v4.0.1 via softaculous, that seems
   to of fixed the issues. Which is great for now.
 * My concern is what caused this.
 * In my site root I found a .maintenance file and I couldn’t access the the upgrade
   folder.
 * I wonder if it was the site trying to auto update this security update which 
   that failed.
 * Has anyone else come across this error?

Viewing 1 replies (of 1 total)

 *  [Justin Greer](https://wordpress.org/support/users/justingreerbbi/)
 * (@justingreerbbi)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/upgrading-to-401-fixed-postphp-parse-error/#post-5509746)
 * I am not too sure where the link is but there was a link floating around that
   explained there was an issue in rare cases where some severs/hosts was butting
   heads with something in the automatic update and some files were not being transferred
   fully or not at all.
 * I good place to check would be the current tickets. I know the post about the
   automatic updates was made by Ipstenu a few days ago but it seems to have slipped
   away.

Viewing 1 replies (of 1 total)

The topic ‘Upgrading to 4.0.1 fixed post.php parse error’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Justin Greer](https://wordpress.org/support/users/justingreerbbi/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/upgrading-to-401-fixed-postphp-parse-error/#post-5509746)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
