Hi John
Thank you for your answer. Unfortunately it didn’t solve my problem adding the $post_object->ID. I read the post you linked to and I understand the problem. You suggest to use alternate means of getting values other than setup_postdata, can you give any examples of this?