Title: Parse error
Last modified: August 30, 2016

---

# Parse error

 *  [easyfitsecuritygrilles](https://wordpress.org/support/users/easyfitsecuritygrilles/)
 * (@easyfitsecuritygrilles)
 * [11 years ago](https://wordpress.org/support/topic/parse-error-335/)
 * Hi guys,
 * New here so hello everyone! 🙂
 * Any ideas on the following error? I havent made any changes to the code just 
   all of a sudden had this pop up!
 * Parse error: syntax error, unexpected end of file in /home/easyfits/public_html/
   wp-settings.php on line 257
 * Thanks in advance.

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

 *  [schulte](https://wordpress.org/support/users/schulte/)
 * (@schulte)
 * [11 years ago](https://wordpress.org/support/topic/parse-error-335/#post-6186160)
 * Hi there! I would get a fresh copy of wp-settings.php and replace it with the
   one you have now.
 *  Thread Starter [easyfitsecuritygrilles](https://wordpress.org/support/users/easyfitsecuritygrilles/)
 * (@easyfitsecuritygrilles)
 * [11 years ago](https://wordpress.org/support/topic/parse-error-335/#post-6186163)
 * Hi,
 * Done that and now have this error – Parse error: syntax error, unexpected end
   of file, expecting function (T_FUNCTION) in /home/easyfits/public_html/wp-includes/
   wp-db.php on line 1130
 * Many thanks,
 *  [schulte](https://wordpress.org/support/users/schulte/)
 * (@schulte)
 * [11 years ago](https://wordpress.org/support/topic/parse-error-335/#post-6186164)
 * Do the same thing with wp-db.php.
 *  Thread Starter [easyfitsecuritygrilles](https://wordpress.org/support/users/easyfitsecuritygrilles/)
 * (@easyfitsecuritygrilles)
 * [11 years ago](https://wordpress.org/support/topic/parse-error-335/#post-6186167)
 * Every time I’m doing it there’s a new one popping up lol.. Is the whole site 
   messed up? Cannot even access wp-admin.
 * Thanks,
 *  Thread Starter [easyfitsecuritygrilles](https://wordpress.org/support/users/easyfitsecuritygrilles/)
 * (@easyfitsecuritygrilles)
 * [11 years ago](https://wordpress.org/support/topic/parse-error-335/#post-6186168)
 * Most recent (there was about 4 diff ones before this) – Fatal error: Call to 
   undefined function get_site_option() in /home/easyfits/public_html/wp-includes/
   default-constants.php on line 167
 *  [schulte](https://wordpress.org/support/users/schulte/)
 * (@schulte)
 * [11 years ago](https://wordpress.org/support/topic/parse-error-335/#post-6186169)
 * You may need to upload a fresh copy of the wp-includes and wp-admin folders…something
   is definitely awry considering you keep finding similar issues.

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

The topic ‘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/)
 * 6 replies
 * 2 participants
 * Last reply from: [schulte](https://wordpress.org/support/users/schulte/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/parse-error-335/#post-6186169)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
