So this problem has been around for quite some time and it only occurs for some people. Whenever I do /wild, it'll take me somewhere near spawn or to a griefed town. After you do /wild once, it won't let you do it again. I've asked people on survival if it works for them and it does for some people, but for others it doesn't. I really want this to be fixed because it's super useful when mining, gathering resources, or finding an area to build on.
I used to play Survival a lot, and /wild worked perfectly. If this has caused issues for people like you that play it still, I completely support.
Support, we now have to go between /wild and /rtp, sometimes these commands do not work for certain players.