1172 errors

Here's a picture who says it all. I'm basically trying to go from a frame to the other by clicking. And while i didn't ask for anything there is a lot of 1172 errors i've never seen before and I have no idea how to fix them.
I tried searching the web but no one seems to have the same problem. O_o
In the log it even says line 21 while i don't even have 21 lines of code in total ? ><
In my 2nd layer the only line of code is stop(); =/
