Images in Server not appearing in WordPress Media Library

I was messing around with some SQL queries and I screwed something up; and since then, images that exist on the server of the website do not appear in the WordPress Media Library. It appears to be an issue with the wp_posts and wp_postmeta tables.

I think I got the database corrupted; although, when the images are accessed through http://example.com/wp-content/uploads/YEAR/MONTH/FILE_NAME, the images are displayed and they also display fine on the homepage, but they are missing in the WordPress Media Library. Only newly uploaded images show up. I need to fix this quickly.

Any help would be appreciated a whole lot. Thanks.

Read more here: Images in Server not appearing in WordPress Media Library

Leave a Reply

Your email address will not be published. Required fields are marked *