We cannot help you based on that little information: I'd guess that (37, 63) refers to a line and column number in the source file but other than that all we can say is that the message comes when you try to use
outside an instance method or constructor. Since
refers teh the cunnect instance of a class, you can't use it outside them.
This may help: How to Write Code to Solve a Problem, A Beginner's Guide Part 2: Syntax Errors