Hi
Seems that depending of context, ACF file return ID instead of array even if return array is set in field option.
Tested with get_field('fieldname')
and the_field('fieldname')
with same result
Any help would be appreciated
Greg
In almost all cases when you are seeing this happen there is a pre_get_posts filter somewhere that is interfering with ACF queries. This could be in your theme or in another plugin.
You need to look for these filter actions and disable them to test and find the one that’s causing the issue.