Title: Fatal error: main
Last modified: August 18, 2016

---

# Fatal error: main

 *  Resolved [eighthsin](https://wordpress.org/support/users/eighthsin/)
 * (@eighthsin)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-main-2/)
 * For absolutely no reason what-so-ever, my website has decided to have a fatal
   error. I have been on the site and it was working fine, however I have not logged
   in or changed anything for a few months. Here is my problem:
 * Warning: main(/home/fhlinux175/e/eighthsin.co.uk/user/htdocs/wp-includes/theme.
   php) [function.main]: failed to open stream: No such file or directory in /home/
   fhlinux175/e/eighthsin.co.uk/user/htdocs/wp-settings.php on line 154
 * Warning: main(/home/fhlinux175/e/eighthsin.co.uk/user/htdocs/wp-includes/theme.
   php) [function.main]: failed to open stream: No such file or directory in /home/
   fhlinux175/e/eighthsin.co.uk/user/htdocs/wp-settings.php on line 154
 * Fatal error: main() [function.require]: Failed opening required ‘/home/fhlinux175/
   e/eighthsin.co.uk/user/htdocs/wp-includes/theme.php’ (include_path=’.:/usr/share/
   pear’) in /home/fhlinux175/e/eighthsin.co.uk/user/htdocs/wp-settings.php on line
   154
 * I have tried uploading the wp-settings.php again, but this does nothing at all.
   Any help would be amazingly appretiated as I have absolutely no idea how this
   has occurred.

The topic ‘Fatal error: main’ is closed to new replies.

## Tags

 * [function.require](https://wordpress.org/support/topic-tag/function-require/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [eighthsin](https://wordpress.org/support/users/eighthsin/)
 * Last activity: [18 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-main-2/)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
