Same comment as with array; this error message should indicate that the second argument should be a string.