The definition of the function has a parameter array (or variable argument list) that is followed by another parameter. This is not allowed because the parameter array must be the last parameter.
To correct this error
-
Make sure the parameter array is the last parameter in the definition of a function.