WordPress posts not displaying despite existing in the database

My site was hacked recently and I believe this issue came up after a fresh install of wordpress and re-upload of the theme along with it’s plugins

The posts are showing up on http://medicalais.com/blog/ if you click on them individual however a completely blank page is rendered. The posts exist along with their category relationships. They are not showing up even in the posts dashboard. I cannot edit them or view them. It does say 26 posts exist and 26 posts are published but I cannot select any of them.

Read More

I’ve done everything to debug this issue.

I ran the following SQL query:

SELECT * FROM wp_posts WHERE post_type = "post" AND post_status = "publish"

I noticed all the articles are in the database. So, I repaired the table anyways but the issue persists.

I also reset the plugins folder by both ftp and phpMyAdmin to make sure the mylivechatplugin or any other plugins are not the cause of the problem.

In the wp-posts table, I also deleted all the items with ‘revision’ as the post_type.

Finally I checked to ensure the credentials are written correctly in wp_config.

I switched to a different theme and i could then access the posts but still couldn’t edit them in the /wp-admin posts menu. So this could be a theme specific issue but probably not.

Related posts

Leave a Reply