Combine multiple queries, array_unique returns nothing

It will work with the SORT_REGULAR flag:

array_unique( array_merge( $q1_posts, $q2_posts ), SORT_REGULAR );

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