Get terms cross-taxonomy query

All right, few hours of figuring it out, but I made it:
I had to wrap the whole thing into a wp_query, querying the current ‘category’ term and then use get_the_terms instead of get_terms to get the terms for the current post query, then remove duplicates and echo it in a foreach loop similar to the initial one.

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