Whenever you have such a problem, you should be asking yourself: what type is expected here, and what am I actually passing in?

In the case of your sendVarZone function, what type does it expect as first parameter?
What type are you actually passing as a parameter?