2

EntityMalformedException: Missing bundle property on entity of type profile2. in entity_extract_ids()

Udit Rawat
  • 674
  • 8
  • 22

1 Answers1

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