Invalid collection string

Invalid collection string

I haven't changed anything in one of my functions. I'm trying to run it manually and suddenly "Invalid collection string" appears. 

My code has 6 lines and the error says that the error is on 7th line. 

Why? What does this error mean? Nothing has been changed and suddenly it's not working? Why oh why?