Is your site in a subdir? Like ‘mysite.com/subdir/’
I dont know if thats your problem but.
I know there is a bug in ACF Pro that the redirect url after posting the ACF Form becomes like: ‘mysite.comsubdir’.
I’ve reported that bug serveral months ago but dont think its fixed yet. Everytime ACF updates i have to go in the file api/api-helpers.php in the plugin and change the function acf_get_current_url() ..
And change the line: $url = substr_replace($url, ”, $pos, $length);
To: $url = substr_replace($url, ‘/’, $pos, $length);
Im using the field_id but i think something crazy is wrong, because it get the default “welcome to wordpress” blog post, yet i have set up the field so filter by my custom post type that i created, which it populates correcly when im updating the post and the relation field.
And when running a get_field(field id….) i get the correctly value + default wp blog post + the title of the entry repeated 21 times. No logic there.
I think its the same problem as my problem:
http://support.advancedcustomfields.com/forums/topic/relationship-field-works-after-click-update/
And Bones problem: http://support.advancedcustomfields.com/forums/topic/using-update_field-for-taxonomy-terms/
He found that it worked if he used the field_id instead of field_name when doing a get_field. Maybe that could solve your problem?
Hi Bones!
Did you manage to solve this problem yet? I have had no luck yet.
Best regards,
Tobias