How to query custom post type by two terms?

figured it out I removed the taxonomy code within my query and added

  <?php $args = array(
               'showposts'=>25,
               'post_type'=>'liaisons',
               'speakeryear' =>$options[year] 
        );
  $query = new WP_Query($args);
    while ( $query->have_posts() ) : 
            $query->the_post();
         if( has_term( 'test1', 'placementcategory' ) ) { ?> 
           <article class="card-half">Test</article>
   <?php }
    endwhile; ?>

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