I am having the same error. I deleted a bunch of photos in the media library besides the ones I am currently using. I went to the saved draft page to try to create a gallery and when I click on the “Add Media” button the media page came up but it is not letting me add new images or view my currently saved images in my library. How can I fix this? I’ve tried everything from re-sizing to deactivating pulgins