Query for multiple post types does not work

almost!
when doing it outside of the loop, you have to reset the query as in:

wp_reset_query();

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