Loop through posts of only 2 statuses

Have you tried with “post_status” instead of “status” as documentation says: https://developer.wordpress.org/reference/classes/wp_query/#status-parameters ?

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