What is this error

I think the OP has fed the list socket with a string rather than a list. Show your blocks please.