Issue #1310984 by aadityawalawalkar | basht: Fixed PDOException with PostgreSQL when viewing page /user/1 if OAuth Provider UI in on.