Invalid host variable type on '%1'

Error code 2623
Probable cause

You have used a host variable that is not a string type in a place where the preprocessor was expecting a host variable of a string type.