There must be some reason that it’s returning an id instead of the URL. There’s been another question with the same problem recently… in the last few months.
but I can’t find it. If the same field is returning a url in one place but an id in another then you’re got some kind of compatibility issue. You should deactivate other plugins and see what’s causing it because it will just keep giving you problems. The last time I’m pretty sure it had to do with a woocommerce add on, but it could be anything.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users