in tax_query this Is the code correct? I need to access beginner video posts for different subject

try this.. $args = array( ‘post_type’ => ‘videolesson’, ‘ordeby’ => ‘rand’, ‘order’ => ‘DESC’, ‘posts_per_page’ => 8, ‘tax_query’ => array( ‘relation’ => ‘AND’, array( ‘taxonomy’ => ‘level’, ‘field’ => ‘slug’, ‘terms’ => ‘beginner’, ‘compare’ => ‘IN’, ), array( ‘taxonomy’ => ‘subjects’, ‘operator’ => ‘EXISTS’ ) ), ); $getting = new WP_Query( $args );

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