My CPT won’t display no matter what I do

You need to flush rewrite rules after creating CPT, go to Settings –> Permalinks and save them.

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