i think the have_rows('services_managers', $term_id)
doesn’t seem correct. try passing the whole $term
object and see if that fixes it. if not, then just don’t setup the post data.
if you alread have the $post object, then you ahve the title $post->post_title
and the id $post->ID
.
https://codex.wordpress.org/Class_Reference/WP_Post