How can I trace inconsistency in loading a template?

The issue was caused by missing permalinks for the new content types. Re-saving the permalink settings helped.

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