Title: post.php error (page not pulling post data)
Last modified: August 18, 2016

---

# post.php error (page not pulling post data)

 *  [battlebornnews](https://wordpress.org/support/users/battlebornnews/)
 * (@battlebornnews)
 * [19 years ago](https://wordpress.org/support/topic/postphp-error-page-not-pulling-post-data/)
 * Hi all,
 * I’ve just launched a site using the Slate theme.
    [http://dancameron.org/wordpress/scattered-theme-slate-10/](http://dancameron.org/wordpress/scattered-theme-slate-10/)
 * It appears as though the author has yet to change it to a 2.0+ compatible theme,
   however, I badly wish to use it and was hoping to get some help here.
 * After the initial install we were getting this error when visiting the full page
   of a post.
 *     ```
       Warning: main(post.php) [function.main]: failed to open stream: No such file or directory in /home/politic7/public_html/wp-content/themes/slate/single.php on line 11
   
       Warning: main(post.php) [function.main]: failed to open stream: No such file or directory in /home/politic7/public_html/wp-content/themes/slate/single.php on line 11
   
       Fatal error: main() [function.require]: Failed opening required ‘post.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/politic7/public_html/wp-content/themes/slate/single.php on line 11
       ```
   
 * I’m new to this so I wasn’t quite sure what to make of it.
 * Just for kicks, I stripped this out of the page file.
    `<?php require('post.php');?
   >`
 * The page now displays without errors, but it doesn’t pull the post data so it’s
   just a blank.
 * How can I make the page pull the post data to display the text for that post?
 * Thanks in advance for the help!
 * -Eric

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

 *  Thread Starter [battlebornnews](https://wordpress.org/support/users/battlebornnews/)
 * (@battlebornnews)
 * [19 years ago](https://wordpress.org/support/topic/postphp-error-page-not-pulling-post-data/#post-556299)
 * In case anyone wants to look…
    [http://www.opposereid.com](http://www.opposereid.com)
 *  Thread Starter [battlebornnews](https://wordpress.org/support/users/battlebornnews/)
 * (@battlebornnews)
 * [19 years ago](https://wordpress.org/support/topic/postphp-error-page-not-pulling-post-data/#post-556487)
 * Anyone?

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

The topic ‘post.php error (page not pulling post data)’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 1 participant
 * Last reply from: [battlebornnews](https://wordpress.org/support/users/battlebornnews/)
 * Last activity: [19 years ago](https://wordpress.org/support/topic/postphp-error-page-not-pulling-post-data/#post-556487)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
