Taxonomies, Adanced Custom Fields and Repeatable Fields

In your have_rows() calls, you put the $post_id variable in a single-quoted string – which is wrong.

It should be have_rows( 'right_column_box', $post_id ).

// Edit
Of course, this is also true for the get_sub_field() calls.