ID:2311375
 
(See the best response by Kaiochao.)
wrong type of value for list

what does this mean?
I've fixed that many times before but I'm drawing a blank as to what the cause is.

Post the code.
Best response
This happens when you're adding a certain type of value to a built-in list that expects certain other types of values. For example, atom.contents and client.screen can only contain movable atoms (except area.contents). Other types of values, such as strings, numbers, type paths, and null, will cause an error when added to these lists. Other restrictive lists include client.images and atom.overlays. Pretty much every built-in list is a special list with its own restrictions.

Basically, it means exactly what it says.