Error 2. Incorrect type of argument. Expecting number or array here.

This occurs when calling single-argument mathematical function like sin() which accepts only numbers and arrays,
but the user specified string for example.

x= sin("test"); // sin requires number or array