Nested Queries using meta_query

Your inner query is overwriting the outer, you’ve assigned both to $the_query.

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