I copied my game files from 4.0.0 over to 4.0.6 and everything was working fine until I imported the adventure module and got this when I compiled.