Title: Parse Error
Last modified: December 27, 2018

---

# Parse Error

 *  [chance0110](https://wordpress.org/support/users/chance0110/)
 * (@chance0110)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/parse-error-502/)
 * I was unable to update automatically so I had to manually update. After copying
   the files over, I am getting this message:
 * Parse error: syntax error, unexpected T_STRING, expecting ‘)’ in D:\Hosting\9029655\
   html\wp-includes\formatting.php on line 5319
 * I went ahead and tried to copy over just the formatting.php file, but am still
   getting this error.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fparse-error-502%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [7 years, 5 months ago](https://wordpress.org/support/topic/parse-error-502/#post-11031364)
 * Do a full manual update.
 * [https://codex.wordpress.org/Upgrading_WordPress#Manual_Update](https://codex.wordpress.org/Upgrading_WordPress#Manual_Update)
 *  Thread Starter [chance0110](https://wordpress.org/support/users/chance0110/)
 * (@chance0110)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/parse-error-502/#post-11031418)
 * Getting the same error 🙁
 *  Thread Starter [chance0110](https://wordpress.org/support/users/chance0110/)
 * (@chance0110)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/parse-error-502/#post-11031528)
 * Actually it now says line 5317 instead of 5319.
 *  [Rajan Vijayan](https://wordpress.org/support/users/rajanit2000/)
 * (@rajanit2000)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/parse-error-502/#post-11031625)
 * Try [downloading WordPress](https://wordpress.org/download/) again, access your
   server via [SFTP or FTP](https://codex.wordpress.org/FTP_Clients), or a file 
   manager in your hosting account’s control panel, and delete then replace your
   copies of everything except the `wp-config.php` file and the `/wp-content/` directory
   with fresh copies from the download. This will effectively replace all of your
   core files without damaging your content and settings.
    Some uploaders tend to
   be unreliable when overwriting files, so don’t forget to delete the original 
   files before replacing them.

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

The topic ‘Parse Error’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [Rajan Vijayan](https://wordpress.org/support/users/rajanit2000/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/parse-error-502/#post-11031625)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
