Title: Warning: require(LIB/_posts.php) [function.require]: failed to open stream:
Last modified: August 20, 2016

---

# Warning: require(LIB/_posts.php) [function.require]: failed to open stream:

 *  [douglasdeodato](https://wordpress.org/support/users/douglasdeodato/)
 * (@douglasdeodato)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/warning-requirelib_postsphp-functionrequire-failed-to-open-stream/)
 * i install new theme, but when i want use somethings for the old theme, appear
   this:
 * Warning: require(LIB/_posts.php) [function.require]: failed to open stream:

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/warning-requirelib_postsphp-functionrequire-failed-to-open-stream/#post-3213508)
 * Where did you download the older theme from?
 *  Thread Starter [douglasdeodato](https://wordpress.org/support/users/douglasdeodato/)
 * (@douglasdeodato)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/warning-requirelib_postsphp-functionrequire-failed-to-open-stream/#post-3213513)
 * like, i am created the new theme.
 * but i want put in this new theme link to comments because dont have.
 * so i saw in the old theme put some library and classes to work, but happen that.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/warning-requirelib_postsphp-functionrequire-failed-to-open-stream/#post-3213523)
 * Generally speaking, you cannot just drop code from one theme into another.
 *  Thread Starter [douglasdeodato](https://wordpress.org/support/users/douglasdeodato/)
 * (@douglasdeodato)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/warning-requirelib_postsphp-functionrequire-failed-to-open-stream/#post-3213528)
 * some error in functions.php i got the problem is there. i will check and say 
   something.
 * thanks.

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

The topic ‘Warning: require(LIB/_posts.php) [function.require]: failed to open stream:’
is closed to new replies.

## Tags

 * [Lib](https://wordpress.org/support/topic-tag/lib/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [douglasdeodato](https://wordpress.org/support/users/douglasdeodato/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/warning-requirelib_postsphp-functionrequire-failed-to-open-stream/#post-3213528)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
