Uncaught Type Error: Plaguing my level

Hi. One day, when i was playing my codecombat clash royale, and on the dev console, it said " Uncaught TyperError: Cannot read property lenght of undefined." So then I signed out, and everything worked fin. But when I signed in, i got an uncaught type error. -_- I reseted all my code as well.