Title: function require failed to open stream
Last modified: August 19, 2016

---

# function require failed to open stream

 *  [wontar](https://wordpress.org/support/users/wontar/)
 * (@wontar)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/function-require-failed-to-open-stream/)
 * I’m stumped, and any help would be appreciated. There are other posts similar
   to mine that are closed, but they close with a proud “I fixed it!” without any
   explanation as to what was done to fix the problem. So, here I am.
 * This is the error message I get whenever I click on a blog title to bring up 
   the post in its own page:
    Warning: require(/home1/stargaze/public_html/blog/
   wp-includes/compat.php) [function.require]: failed to open stream: No such file
   or directory in /home1/stargaze/public_html/blog/wp-settings.php on line 265
 * The files are there. Line 265 is commented out, but 266 says: require( ABSPATH.
   WPINC . ‘/locale.php’. Locale.php is also there.
 * Help? Please? Thank you!

Viewing 1 replies (of 1 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/function-require-failed-to-open-stream/#post-1999355)
 * Your upgrade may not have completed successfully. Try:
    – switching to the Twenty
   Ten theme by renaming your current theme’s folder in wp-content/themes using 
   [FTP](http://codex.wordpress.org/FTP_Clients) or whatever file management application
   your host provides.
 * – [resetting the plugins folder](http://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F)
   by FTP or phpMyAdmin.
 * – re-uploading all files & folders – **except** the wp-content folder – from 
   a **fresh** download of WordPress.
 * – re-running the upgrade manually using wp-admin/upgrade.php.

Viewing 1 replies (of 1 total)

The topic ‘function require failed to open stream’ 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/)
 * 1 reply
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/function-require-failed-to-open-stream/#post-1999355)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
