为什么Wordpress和图像中未显示的媒体库不会上传到媒体库?

Media library is not displayed neither I can upload nor I can see the uploaded media files. So kindly help me out to this situation.

Just by uploading files into the wp-content/uploads won't show up in the Media Library , those media ID's needs to be there in the database to show up in the Media Library.

If you already have files in the uploads folder and want to add them into the database, you can use this plugin to add files from server.

But this is not the correct solution instead fix the permissions issue for that uploads folder.

This issue is shown by following issue

  1. Does your server have the right permission for upload file into upload folder check it.
  2. don't upload file directly to upload folder upload it by backend which will not added media information to database.