Merge pull request #1753 from xillibit/k30_bugs16

#1749 Save profile: JUser:: _load: Unable to load user with id
#1757 Notice in Diagnostic tool with J! 3.1.1