WP_query shortcode inside acf Repeater breaks the repeater loop
Change the end to proper syntax, endwhile; $retour .= ‘</ul>’; wp_reset_postdata(); return $retour; } else { return ‘<strong>No upcoming events are currently on the calendar.</strong>’; } return ob_get_clean(); }