I strongly suspect that you haven’t ended your second while loop for <?php while ( have_posts() ) : the_post(); ?>
being used on line 32
I strongly suspect that you haven’t ended your second while loop for <?php while ( have_posts() ) : the_post(); ?>
being used on line 32