SOLVED: Get_queried_object not returning the correct taxonomy on the archive page

Browser: Chrome 110
OS: macOS / Windows / Linux / etc.

On a custom taxonomy of a custom post, a simple code block with var_dump(get_queried_object()) returns the wrong taxonomy object.

Is it possible that this is only the case for an empty archive and works when there is at least one post available?

Spot on! It work now that I add a post in it.

Hey Clement,
Thanks so much for your report!

This sounds pretty similar to this report: WIP: Wrong Term loaded in frontend when populating content for a term archive

Is it possible that the returned object is the same as set in populate content?

Best regards,
timmse

Hi Clement,
Assuming it was the same problem as in the link I posted before:
We’ve fixed this bug in Bricks 1.7.1, now available as a one-click update in your WordPress Dashboard.

Please let us know if you are still experiencing issues.

Best regards,
timmse