Call to undefined method when resetting password

You get the following error when you try to reset your password:

Call to undefined method
Illuminate\Database\Query\Builder::checkResetPassword()