Such error appears if temple is blocked or doesnt exist at all. When your character is trying to login on unwalkable/blocked place then that character is teleported to temple, but it can't be if temple doesn't exist.
Possible solution:
If you copied a new map, you have to open it in RME.
Then in RME go to Map -> Edit Towns (hotkey: CTRL+T) and add atleast one town there with coordinates on walkable tile, or check and edit temple position of towns which are already there.
If your error still appears then:
Every town will have own ID. First town always have ID 1. When you made atleast 1 town - then, you have to open your database and find under 'players' information about temple ID (town ID). And set temple ID to any matching ID from RME, example set it to 1.