The script '%1' contains an invalid parameter reference: '%2'

Error code -10239
Error constant INVALID_NAMED_PARAMETER_NUMBER
Parameter 1 Name of script.
Parameter 2 Number of parameter.
 Probable cause