You have specified a nonnumeric argument with an intrinsic function which is expecting a numeric argument.
Make the argument numeric.