index.php Not Showing Custom Posts / Terms

pealo86 reports that this issue has been resolved thanks to Pieter Goosen’s suggestion in the comments to re-save permalinks.

Are you using your index.php as a taxonomy page? If so, it should
work if you do not have a taxonomy or archive template in your theme.
Just another question, have you re-saved your permalinks?

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