Media Library not showing images but still acknowledges existence

This is a little known error caused by creating a custom taxonomy called ‘type’. To solve just need to change the taxonomy’s name.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)