Title: Function.php returns Parse error
Last modified: August 31, 2016

---

# Function.php returns Parse error

 *  [cornellazar](https://wordpress.org/support/users/cornellazar/)
 * (@cornellazar)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/functionphp-returns-parse-error/)
 * My website is down and I receive below error message. This appears accidental
   as I opened the function.php (via FTP) but didn’t mean to make any changes. Any
   help how I can restore my site will be much appreciated.
 * _Parse error: syntax error, unexpected ‘function’ (T\_FUNCTION) in /home/headlinerseat/
   public\_html/wp-includes/functions.php on line 830_

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

 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [10 years, 1 month ago](https://wordpress.org/support/topic/functionphp-returns-parse-error/#post-7313203)
 * Try replacing the core WordPress files. Pay attention to the bits in bold:
 * Try downloading WordPress again 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.
 *  Thread Starter [cornellazar](https://wordpress.org/support/users/cornellazar/)
 * (@cornellazar)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/functionphp-returns-parse-error/#post-7313207)
 * Thanks. Will try this. Just making backups. Must that also include the admin 
   files?
 *  Thread Starter [cornellazar](https://wordpress.org/support/users/cornellazar/)
 * (@cornellazar)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/functionphp-returns-parse-error/#post-7313211)
 * This doesn’t seem to have solved it. I’m now getting this message.
 * _Warning: require(/home/headlinerseat/public\_html/wp-includes/functions.php):
   failed to open stream: No such file or directory in /home/headlinerseat/public\
   _html/wp-settings.php on line 81_
 * Fatal error: require(): Failed opening required ‘/home/headlinerseat/public_html/
   wp-includes/functions.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’)
   in /home/headlinerseat/public_html/wp-settings.php on line 81
 *  Thread Starter [cornellazar](https://wordpress.org/support/users/cornellazar/)
 * (@cornellazar)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/functionphp-returns-parse-error/#post-7313219)
 * Problem solved. As expected it was an accidental error on my part. I re-uploaded
   all files and discovered I accidentally added a character that shouldn’t have
   been there.
 * Thanks for your help, Andrew Nevins. Your input certainly helped me focusing 
   in on the issue.

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

The topic ‘Function.php returns Parse error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [cornellazar](https://wordpress.org/support/users/cornellazar/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/functionphp-returns-parse-error/#post-7313219)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
