WP_Query loop doen’t work with my custom taxonomy

Your taxonomy and term arguments are incorrect. The preferred method is via tax_query

$args = array(
    // ... other args
    'tax_query' => array(
        array(
            'taxonomy' => $term->taxonomy,
            'field' => 'slug',
            'terms' => $term->name
        )
    )
);

Please see WP_Query for all valid arguments and their correct formatting.

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