Abraham Cuenca 5627bab1a3 Description of what you did:
Fix Profile button throwing a 500 Internal Server Error when refreshing
page from the admin screen.

Fix #4777

**My PR is a:**

[ ] Breaking Change
[x] Bug fix
[ ] Enhancement
[ ] New Feature

**Main update on the:**

[x] Admin
[ ] Documentation
[ ] Framework
[ ] Plugin

**Manual testing on on the following databases:**

[x] Not applicable
[ ] MongoDB
[ ] MySQL
[ ] Postgres
[ ] SQLite
2019-12-24 11:59:00 -08:00
..
2019-12-24 11:59:00 -08:00
2019-04-16 09:05:47 +02:00
2017-11-20 17:04:48 +01:00