Solution:
I have found that wp_post table was corrupted while update latest wordpress verion. There is no Auto-increment ID under wp_post due to this all newly upload files get 0 value in return.
Due to this “images” are not uploaded into the gallery.
** Steps to fix this issue** 1. Open your phpmyadmin 2. open your website data-base 3. open posts table and open structure of table. set ID as Primary Key From where restoring AUTO INCREMENT on the posts table
After that you can reload media page now you can easily able to upload images in media….
that’s it.