'argument #1 expects a string, but [...] was passed' spammed constantly

Almost every function that is used sends a warning that says ‘argument #1 expects a string, but [number/userdata/string/etc] was passed’. Ends up sending potentially thousands of warnings in the output, making debugging harder.

Confirmed happening to at least 3 people including me in the past two hours.

image

14 Likes

This looks like a duplicate of this post, or at occurs for the same reason Instance:FindFirstChild(number) now results in a warning - #4 by WheretIB

1 Like

I have a question are they going fix this issue?

1 Like

yeah sorry, was trying to find a duplicate post but missed this

1 Like

By the sounds it of you have to FindFirstChild(tostring(StuffGoesHere)) for all FindFirstChild’s that are grabbing a value or whatever now. It is gonna be a pain to convert but oh well :/.

2 Likes

This just seems so dumb Why make a change like this :frowning:

2 Likes

FindFirstChild I guess was suppose to only take strings by the hear of it. They are making it stricter for some reason. Couldn’t tell ya honestly.

3 Likes

Me too having this problem, even using tostring doesn’t help.

1 Like

This warning message has been disabled.

4 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.