error 500 when visit probile mobile and logged out. Fix #4458
Merge pull request #4464 from movilla/profile_mobile_500

Error 500 when visit probile mobile and logged out. Fix #4458