I came across this error where I was trying to retrieve a user using a query from the database. Below was my initial code which wanted to retrieve a user from a model called