Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Updated to 2.1 of ColorBox (along with the JS library) and the latest stable release of Entity API. Stupidly did this without testing ;)
Notice: Undefined index: entity_type in theme_colorbox_image_formatter() (line 21 of /var/www/html/drupal7/drupal/sites/all/modules/colorbox/colorbox.theme.inc).
Notice: Undefined index: entity in theme_colorbox_image_formatter() (line 22 of /var/www/html/drupal7/drupal/sites/all/modules/colorbox/colorbox.theme.inc).
Notice: Undefined index: entity keys in entity_extract_ids() (line 7627 of /var/www/html/drupal7/drupal/includes/common.inc).
Notice: Undefined index: entity keys in entity_extract_ids() (line 7628 of /var/www/html/drupal7/drupal/includes/common.inc).
This error gets repeated for each item in my View.
Investigating further...
Comments
Comment #1
frjo CreditAttribution: frjo commentedCan you post a link to the site and/or give me access to it or a demo that has the same problem?
Comment #2
jastraat CreditAttribution: jastraat commentedI don't think this is a problem with Entity + ColorBox because I'm getting this error on a site that does not have entity installed. I just upgraded to the most recent version of Drupal (7.19)
Comment #3
asotog88 CreditAttribution: asotog88 commentedIm getting the same error but im using the Project Issues Tracker module, when i try to create an issue i get
Comment #4
pjmcghee CreditAttribution: pjmcghee commentedI am receiving the error about entity along with the error listed before it. I just installed Drupal Chat.
Notice: Undefined index: entity_type in views_bulk_operations_modify_action() (line 31 of /var/www/html/sites/all/modules/views_bulk_operations/actions/modify.action.inc).
Notice: Undefined index: entity keys in entity_extract_ids() (line 7627 of /var/www/html/includes/common.inc).
Notice: Undefined index: entity keys in entity_extract_ids() (line 7628 of /var/www/html/includes/common.inc).
Comment #5
Ericmaster CreditAttribution: Ericmaster commentedI was getting these too after upgrading colorbox, they went away after installed entity module.
Comment #6
Elin Yordanov CreditAttribution: Elin Yordanov commentedComment #7
Uv516 CreditAttribution: Uv516 commentedI am getting this error set:
I think that it isn't just something about colorbox. I don't use colorbox.
Comment #8
frjo CreditAttribution: frjo commented