I got this errors while installing
Notice: Undefined index: entity_type in flag_flag::factory_by_array() (line 105 of C:\xampp\htdocs\profiles\....\modules\flag\includes\flag\flag_flag.inc).
Notice: Undefined index: handler in flag_create_handler() (line 99 of C:\xampp\htdocs\profiles\....\modules\flag\flag.inc).
Notice: Undefined index: entity_type in flag_flag::factory_by_array() (line 105 of C:\xampp\htdocs\profiles\....\modules\flag\includes\flag\flag_flag.inc).
Notice: Undefined index: handler in flag_create_handler() (line 99 of C:\xampp\htdocs\profiles\....\modules\flag\flag.inc).
Notice: Undefined index: entity_type in flag_flag::factory_by_array() (line 105 of C:\xampp\htdocs\profiles\....\modules\flag\includes\flag\flag_flag.inc).
Notice: Undefined index: handler in flag_create_handler() (line 99 of C:\xampp\htdocs\profiles\....\modules\flag\flag.inc).
Notice: Undefined index: entity_type in flag_flag::factory_by_array() (line 105 of C:\xampp\htdocs\profiles\....\modules\flag\includes\flag\flag_flag.inc).
Notice: Undefined index: handler in flag_create_handler() (line 99 of C:\xampp\htdocs\profiles\....\modules\flag\flag.inc).
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 1776058.flag_.flag-api-2-update.patch | 3.84 KB | joachim |
Comments
Comment #1
joachim commentedWere you upgrading from 2.x? Do you have any default flags, and are they in features or modules (and which modules)?
Comment #2
kaizerking commentedYes, updating from 2.x also i got the same error, then i completely reinstalled the recruiter distro with the 3.x ,while doing this also i got the same errors. yes , there are flags in features which were in recruiter distro.like job book mark flag, which are in default.
Comment #3
joachim commentedAll the default flags will need updating for Flag 3.x.
Comment #4
joachim commentedLooking into this now.
2.x flags don't have 'entity_type' set and hence make everything go haywire...
Comment #5
joachim commentedCould you try this patch please?
It should disable your flags that are defined in code and invite you to update them.
Comment #6
kaizerking commentedit is working for me
thanks for the quick work
Comment #7
joachim commentedLikewise! Thanks for trying it out.
Issue #1776058 by joachim: Changed Flag API to 3; added update for API 2 flags.