Yeah tried that and still no luck.
I just added a text sub field called ‘text’ and entered some text in the field.
Used your code and nothing has shown up on the page.
<?php
if( have_rows('layout_section') ):
while ( have_rows('layout_section') ) : the_row();
the_sub_field('text');
endwhile;
else :
endif;
?>
For some reason ACF is just not seeing any fields in the repeater field.