Custom taxonomy – query returns an error

Resetting permalinks, as per this thread, fixed this problem.

Visit Settings -> Permalinks -> Save current settings

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