At the temple, the gatekeeper warns that Taj must not allow anything to lure him from the path or he will be turned to stone.
Taj must not allow anything. This is to lure him from the path. This is what the gatekeeper warns at the temple. He will be turned to stone. This was at the temple.