Too many or too few parameters specified.

You are using a user-defined function, but you are not supplying the correct number of parameters. Check the definition of the user-defined function to determine how many parameters it takes.