this.say throws error

I used to have this problem in functions. Within a function, you can’t call direcly this, you have to transmit it to the parameters. See this
If this is not your problem, please explain a little bit more. 
I realized after I sent the post that I was using ‘this’ inside a function. So I think you nailed the issue and thanks for the response 