Title: WP_POSTS not working
Last modified: March 4, 2021

---

# WP_POSTS not working

 *  [Ubed Thaheem](https://wordpress.org/support/users/ubed-thaheem/)
 * (@ubed-thaheem)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/wp_posts-not-working/)
 * Greetings!
    I’m working on a site, which is running on the WordPress 5x version,
   my previous version was 4.4.12. The database of the website consists of more 
   than 5000 posts in wp_posts TABLE but, in wp-admin/posts section, only 2 of them
   appear which I recently added in the current version of WordPress. So, can anyone
   help me to fix this issue? I’ll be very grateful to you 🙂
 * NOTE: I don’t have any backup of the previous version of the website.

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

 *  [Shariq Khan](https://wordpress.org/support/users/shariqkhan2012/)
 * (@shariqkhan2012)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/wp_posts-not-working/#post-14132423)
 * Do you mean that before you updated your WordPress version (from 4.4.12 to 5.
   x) you had 5000+ posts, and now you can see only 2?
 * Can you actually check in the database wp_posts table the status of the posts
   that don’t appear on wp-admin/posts section?
 *  Thread Starter [Ubed Thaheem](https://wordpress.org/support/users/ubed-thaheem/)
 * (@ubed-thaheem)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/wp_posts-not-working/#post-14133053)
 * Dear Shariq Khan!
    Thanks for the quick response to my thread. I checked the **
   status** of each row in the wp_posts table and mostly are published.
 * Really can’t understand that, why these posts are not showing on the admin side
   of WordPress
 *  [Shariq Khan](https://wordpress.org/support/users/shariqkhan2012/)
 * (@shariqkhan2012)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/wp_posts-not-working/#post-14133075)
 * Perhaps try enabling debug logging in WordPress?
 *  Thread Starter [Ubed Thaheem](https://wordpress.org/support/users/ubed-thaheem/)
 * (@ubed-thaheem)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/wp_posts-not-working/#post-14133133)
 * Debug logging is already enabled, but can’t get errors.
    there is no error_log
   file in the root directory of the website.
 *  [Shariq Khan](https://wordpress.org/support/users/shariqkhan2012/)
 * (@shariqkhan2012)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/wp_posts-not-working/#post-14133166)
 * The error file is named `debug.log` and it will be created in the `/wp-contents`
   directory
 *  Thread Starter [Ubed Thaheem](https://wordpress.org/support/users/ubed-thaheem/)
 * (@ubed-thaheem)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/wp_posts-not-working/#post-14133258)
 * Thanks, found debug.log file.
    The file says: `WordPress database error Table
   wp_pmxi_imports doesn't exist for query` and some WPML plugin errors…
 *  [Shariq Khan](https://wordpress.org/support/users/shariqkhan2012/)
 * (@shariqkhan2012)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/wp_posts-not-working/#post-14133297)
 * Perhaps try disbaling WPML plugin momentarily, and see if that has any effect

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

The topic ‘WP_POSTS not working’ is closed to new replies.

## Tags

 * [older](https://wordpress.org/support/topic-tag/older/)
 * [older version](https://wordpress.org/support/topic-tag/older-version/)
 * [posts](https://wordpress.org/support/topic-tag/posts/)
 * [wp_posts](https://wordpress.org/support/topic-tag/wp_posts/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 2 participants
 * Last reply from: [Shariq Khan](https://wordpress.org/support/users/shariqkhan2012/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/wp_posts-not-working/#post-14133297)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
