title: Query is pulling the same post twice
body: <p>After seeking help and failing, I managed to write a query for Wordpress that does exactly what it's suppose to do, however it pulls the post that it's suppose to in twice. I've stared and stared at the markup and I can't see why it's doing it. Here's the query:</p>
  
  <pre><code>&lt;?php 
  $the_query = new WP_Query( array(
      'post_type' =&gt; 'product',
      'tax_query' =&gt; array(
          'taxonomy' =&gt; 'supplier-tax',
      ),
  ) );
  
  while ( $the_query-&gt;have_posts() ) : $the_query-&gt;the_post(); ?&gt;
  
  &lt;?php 
      $terms = get_the_terms( $post-&gt;ID, 'supplier-tax');
      foreach ( $terms as $term ) {
          $termID[] = $term-&gt;term_id;
      } 
  
      $my_query = new WP_Query( array(
          'post_type' =&gt; 'supplier',
          'tax_query' =&gt; array(
              'field' =&gt; 'slug',
              'terms' =&gt; '$termID',
          ),
      ) ); ?&gt;
  
      &lt;?php while ($my_query-&gt;have_posts()) : $my_query-&gt;the_post(); ?&gt;
          &lt;p class="supplier"&gt;Supplied by &lt;strong&gt;&lt;?php the_title(); ?&gt;&lt;/strong&gt;&lt;/p&gt;
          &lt;img src="&lt;?php the_field('logo'); ?&gt;"&gt;
      &lt;?php endwhile; ?&gt;
      &lt;?php wp_reset_query(); ?&gt;
  
  &lt;?php endwhile; ?&gt;
  &lt;?php wp_reset_postdata(); ?&gt;
  </code></pre>
  
  <p>If anybody could help, or point out where I'm going wrong so that i can learn from it, I'd really appreciate it.</p>