Error Out-of-Line definition

I keep receiving the error out-of-line definition. The variable exists where it should be so I am not sure why I am receiving this error.

Could you post some code?

And my restarting the application helps, atleast i saw at stackoverflow that it helped someone.

error out-of-line definition usually means that you are missing a closing bracket or similar