It would be really very helpful if you post the complete error message
as it contains informations about WHERE the error occurs.
What do you want to do in line 14 and did you check the outcome of this line?
as it contains informations about WHERE the error occurs.
What do you want to do in line 14 and did you check the outcome of this line?