Why is my variable not in scope?

That was my suggestion yeah, but now I have no idea of what could be wrong, sorry about that.