I get this error when I load a mob from a savefile. I edited the /mob/Read() proc so it may have something to do with it.
mob/Read(savefile/F)
F["mob"]>>src
var/x
var/y
var/z
F["old_x"]>>x
F["old_y"]>>y
F["old_z"]>>z
F["icon"]>>src.icon
src.loc=locate(x,y,z)
..()
I would have posted this in Code Problems but everything works fine. I just get that error. Maybe everything's not working as fine as I think it is.
Cadence
Second, you are declaring var/x, var/y, and var/z, but those are already declared as mob variables.
Your problem is either the var/x, var/y, and var/z, or that you are using F["mob"]>>src, which really doesn't work that way. I'd suggest getting rid of that, changing x/y/z to X/Y/Z, and moving ..() to the start of the proc.
Oh, and this should be in Code Problems, because it's not a BYOND bug.