Yes, a corrupted media file can prevent the Media Library from loading properly. you might know which one file will be corrupted, so go to your hosting account and go to cPanel, then navigate to public_html > wp-content > uploads. From there, you can delete the corrupted file to fix the issue.