When I try to fetch an ACF field OR using the following code in a custom taxonomy term archive it queries the term applied in “populate content” for the template instead of the actual current term.
I just tried to reproduce the problem, and it only seems to occur when the term contains no posts.
So instead of “Sorry, no (whatever) posts found.” it shows the “populate content” data. Can you confirm this?
@timmse, any fix for this issue? I experience the same on a new WC build. Every product archive that’s empty display some unrelated products, and not a message saying we don’t have any in that category.