[#29266] Uncaught exception in user profile - code style