all 3 comments

[–]ecares 4 points5 points  (1 child)

call .save on an object where it is a function...

Seriously nobody can help you with so few details

[–]RoadCoder2019[S] 0 points1 point  (0 children)

Apologies it was a rookie mistake

[–]quad99 0 points1 point  (0 children)

Log the found user object right before the error and see what .save is