EntityMalformedException: Missing bundle property on entity of type profile2. in entity_extract_ids()
Asked
Active
Viewed 64 times
1 Answers
2
The error usually comes if profile2 does not exist for user. Please make sure if user you are updating has valid profile entity. You can check profile2 by using the function profile2_load_by_user($account, $type_name = NULL).
Thanks.

Mohit Wadhwa
- 321
- 1
- 2
- 12
-
Thanks Mohit, Really Appreciate it – Udit Rawat Sep 28 '16 at 08:39