Error: 1584 SQLSTATE: 42000 (ER_WRONG_PARAMETERS_TO_STORED_FCT)Message: Incorrect parameters in the call to stored function '%s'