k
message has been deleted
n
Your script is trying to do something like x.item or x["item"] and x is either undefined or null here. You might wanna lookup in your script for 'item'(s) and do a null check on the variables from where you get those.