I was just about to set this up to test because I didn’t see anything wrong with it when I noticed the problem when I looked back at your code to get the name of the sub field I needed to set up.
This $post_objects = the_sub_field('choose_pages');
Should be this $post_objects = get_sub_field('choose_pages');
I must have looked at the code 5 time trying to figure out what ACF was generating at error without seeing it.