Hi @hugobaeta
Your issue is most likely with the line:
$post_object = get_field('post_object');
1. When loading a sub field value, your CAN NOT use get_field, you must use get_sub_field
2. Is your sub field really called ‘post_object’? Please change this to the correct sub field name.
Hope that helps.
Thanks
E