Didn't look like anyone else had this particular error but there are several. I have Media 7.x-1.0-beta5, CT Suite 7.x-1.0-beta1 installed with Drupal 7.2.
•Notice: Undefined index: fieldable in field_ui_menu() (line 71 of /var/www/html/drupal/modules/field_ui/field_ui.module).
•Notice: Undefined index: bundles in field_info_bundles() (line 576 of /var/www/html/drupal/modules/field/field.info.inc).
•Warning: Invalid argument supplied for foreach() in _field_info_collate_fields() (line 215 of /var/www/html/drupal/modules/field/field.info.inc).
•Notice: Undefined index: base table in field_views_field_default_views_data() (line 99 of /var/www/html/drupal/sites/all/modules/views/modules/field.views.inc).
•Notice: Undefined index: base table in field_views_field_default_views_data() (line 104 of /var/www/html/drupal/sites/all/modules/views/modules/field.views.inc).
•Notice: Undefined index: entity keys in field_views_field_default_views_data() (line 105 of /var/www/html/drupal/sites/all/modules/views/modules/field.views.inc).
•Notice: Undefined index: label in field_views_field_default_views_data() (line 91 of /var/www/html/drupal/sites/all/modules/views/modules/field.views.inc).
•Notice: Undefined index: base table in field_views_field_default_views_data() (line 99 of /var/www/html/drupal/sites/all/modules/views/modules/field.views.inc).
•Notice: Undefined index: base table in field_views_field_default_views_data() (line 104 of /var/www/html/drupal/sites/all/modules/views/modules/field.views.inc).
•Notice: Undefined index: entity keys in field_views_field_default_views_data() (line 105 of /var/www/html/drupal/sites/all/modules/views/modules/field.views.inc).
•Notice: Undefined index: label in field_views_field_default_views_data() (line 91 of /var/www/html/drupal/sites/all/modules/views/modules/field.views.inc).
•Notice: Undefined index: base table in field_views_field_default_views_data() (line 99 of /var/www/html/drupal/sites/all/modules/views/modules/field.views.inc).
•Notice: Undefined index: base table in field_views_field_default_views_data() (line 104 of /var/www/html/drupal/sites/all/modules/views/modules/field.views.inc).
•Notice: Undefined index: entity keys in field_views_field_default_views_data() (line 105 of /var/www/html/drupal/sites/all/modules/views/modules/field.views.inc).
•Notice: Undefined index: label in field_views_field_default_views_data() (line 91 of /var/www/html/drupal/sites/all/modules/views/modules/field.views.inc).
•Notice: Undefined index: base table in field_views_field_default_views_data() (line 99 of /var/www/html/drupal/sites/all/modules/views/modules/field.views.inc).
•Notice: Undefined index: base table in field_views_field_default_views_data() (line 104 of /var/www/html/drupal/sites/all/modules/views/modules/field.views.inc).
•Notice: Undefined index: entity keys in field_views_field_default_views_data() (line 105 of /var/www/html/drupal/sites/all/modules/views/modules/field.views.inc).
•Notice: Undefined index: base table in field_views_field_default_views_data() (line 99 of /var/www/html/drupal/sites/all/modules/views/modules/field.views.inc).
•Notice: Undefined index: base table in field_views_field_default_views_data() (line 104 of /var/www/html/drupal/sites/all/modules/views/modules/field.views.inc).
•Notice: Undefined index: entity keys in field_views_field_default_views_data() (line 105 of /var/www/html/drupal/sites/all/modules/views/modules/field.views.inc).
•Notice: Undefined index: bundles in field_info_bundles() (line 576 of /var/www/html/drupal/modules/field/field.info.inc).
•Warning: Invalid argument supplied for foreach() in _field_info_collate_fields() (line 215 of /var/www/html/drupal/modules/field/field.info.inc).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Carlos Miranda Levy’s picture

I got similar errors after upgrading to latest beta and running update...

    Notice: Undefined index: bundles in field_info_bundles() (line 576 of /home/www/drupal7/modules/field/field.info.inc).
    Warning: Invalid argument supplied for foreach() in _field_info_collate_fields() (line 215 of /home/www/drupal7/modules/field/field.info.inc).
    Notice: Undefined index: fieldable in og_ui_menu() (line 105 of /home/www/drupal7/sites/all/modules/og/og_ui/og_ui.module).
    Notice: Undefined index: bundles in field_info_bundles() (line 576 of /home/www/drupal7/modules/field/field.info.inc).
    Warning: Invalid argument supplied for foreach() in _field_info_collate_fields() (line 215 of /home/www/drupal7/modules/field/field.info.inc).
andyceo’s picture

Yes, it affecting me to. Subscribing!

aniebel’s picture

Ok, I updated to Drupal 7.4 and have reduced the number of errors. See below:

•Notice: Undefined index: fieldable in field_ui_menu() (line 71 of /var/www/html/drupal/modules/field_ui/field_ui.module).
•Notice: Undefined index: bundles in field_info_bundles() (line 576 of /var/www/html/drupal/modules/field/field.info.inc).
•Warning: Invalid argument supplied for foreach() in _field_info_collate_fields() (line 215 of /var/www/html/drupal/modules/field/field.info.inc).
•Notice: Undefined index: bundles in field_info_bundles() (line 576 of /var/www/html/drupal/modules/field/field.info.inc).
•Warning: Invalid argument supplied for foreach() in _field_info_collate_fields() (line 215 of /var/www/html/drupal/modules/field/field.info.inc).

dcartman’s picture

I also have these errors. I just upgraded to Drupal 7.4, so hopefully that fix some of these.

jetro44’s picture

I have similar problem with:

Drupal 7.4
Media Gallery 7.x-1.0-beta5
Media 7.x-1.0-beta5
multiform-7.x-1.0-beta2
ctools-7.x-1.0-beta1

See below:
Notice: Undefined index: fieldable in field_ui_menu() (line 71 //modules/field_ui/field_ui.module).
Notice: Undefined index: bundles in field_info_bundles() (line 576 /modules/field/field.info.inc).
Warning: Invalid argument supplied for foreach() in _field_info_collate_fields() (line 215 /modules/field/field.info.inc).
EntityFieldQueryException: Unknown field: media_gallery_expose_block in EntityFieldQuery->fieldCondition() (line 656 /includes/entity.inc).

Tuscan’s picture

Same problem on D7.2, Media beta 5. Subscribing.

lsolesen’s picture

+1

theapi’s picture

Media Gallery does not yet work with Media beta5, lots of things changed there. Keep an eye on #1152972: Media Gallery incompatible with Media dev snapshots post beta4.

freakalad’s picture

Same issue here, upgrading from 7.2 to 7.4

Shaunikm’s picture

Same issue here ... subscribing Drupal 7.4 core Gallery 7.x-1.0-beta5

flightrisk’s picture

Priority: Normal » Critical

Me too. Drupal 7.4 Gallery beta 5, Media beta 5. I have so many errors installing new modules that I always do it twice. I get an ajax error often when installing new modules, but it disappears too quickly to see exactly what it is before the progress bar shows. Sometimes it installs ok despite the error. Other times I just delete the folder for the module and install again and it always works. This time I got the following errors when activating the media gallery module, so just clicked on update again and it didn't give the error the next time, but now every time I update the modules list, I get these errors. How do we get past this? Do I have to roll back to a different version of one of the modules? Will there be an update in the next day or so to address this?:

Notice: Undefined index: bundles in field_info_bundles() (line 576 of C:\wamp\www\drupal2\modules\field\field.info.inc).
Warning: Invalid argument supplied for foreach() in _field_info_collate_fields() (line 215 of C:\wamp\www\drupal2\modules\field\field.info.inc).
Notice: Undefined index: field_name in field_update_instance() (line 520 of C:\wamp\www\drupal2\modules\field\field.crud.inc).
Notice: Undefined index: field_name in field_update_instance() (line 522 of C:\wamp\www\drupal2\modules\field\field.crud.inc).
FieldException: Attempt to update an instance of a nonexistent field . in field_update_instance() (line 522 of C:\wamp\www\drupal2\modules\field\field.crud.inc).

flightrisk’s picture

Ok, looks like this is fixed as of July 11 if you run this patch:

http://drupal.org/node/999530#comment-4667846

Or you can wait for the new build since it has been committed and should be ready to go.

David_Rothstein’s picture

Status: Active » Closed (duplicate)

Per the README.txt and comment #8 above, Media Gallery 7.x-1.0-beta5 only works with Media 7.x-1.0-beta4, not any later versions.

There will be a new release of Media Gallery very soon that works with Media 7.x-1.0-beta5, though.

David_Rothstein’s picture

@flightrisk:

I have so many errors installing new modules that I always do it twice. I get an ajax error often when installing new modules, but it disappears too quickly to see exactly what it is before the progress bar shows.

You may want to look at #936686: "Installation failed" errors when installing modules from Update Manager w/ Overlay.

dhruvbaldawa’s picture

Version: 7.x-1.0-beta5 » 7.x-1.x-dev
Priority: Critical » Normal
Status: Closed (duplicate) » Needs review
FileSize
124.29 KB
92.77 KB
700 bytes

had the same problem, this patch must work
the changes are in modules/field/field.info.inc

dhruvbaldawa’s picture

Title: Another Undefined Index » Undefined Index bundles in field_info_bundles()
Version: 7.x-1.x-dev » 7.x-1.0-beta6
Assigned: Unassigned » dhruvbaldawa
FileSize
700 bytes
124.29 KB
92.77 KB

These notices and warnings appear only when the cache is flushed. Its mainly due to various entities which donot have bundles associated with them like taxonomy_vocabulary, files, etc.

Notice: Undefined index: bundles in field_info_bundles() (line 576 of /var/www/drupal/modules/field/field.info.inc).
Notice: Undefined index: bundles in field_info_bundles() (line 576 of /var/www/drupal/modules/field/field.info.inc).
Warning: Invalid argument supplied for foreach() in _field_info_collate_fields() (line 215 of /var/www/drupal/modules/field/field.info.inc).
Warning: Invalid argument supplied for foreach() in _field_info_collate_fields() (line 215 of /var/www/drupal/modules/field/field.info.inc).

I have attached the screenshot of the problem, the results of the test after patching it and the patch !

dhruvbaldawa’s picture

Project: Media Gallery » Drupal core
Version: 7.x-1.0-beta6 » 8.x-dev
Component: Code » field system

These notices and warnings appear only when the cache is flushed. Its mainly due to various entities which donot have bundles associated with them like taxonomy_vocabulary, files, etc.

Notice: Undefined index: bundles in field_info_bundles() (line 576 of /var/www/drupal/modules/field/field.info.inc).
Notice: Undefined index: bundles in field_info_bundles() (line 576 of /var/www/drupal/modules/field/field.info.inc).
Warning: Invalid argument supplied for foreach() in _field_info_collate_fields() (line 215 of /var/www/drupal/modules/field/field.info.inc).
Warning: Invalid argument supplied for foreach() in _field_info_collate_fields() (line 215 of /var/www/drupal/modules/field/field.info.inc).

I have attached
* the screenshot of the problem
* the results of the test after patching it
* the patch !

Sorry, the attachments didn't work, please have a look at comment 16 for them

Refineo’s picture

subscribe

strr’s picture

any news here ?

Status: Needs review » Needs work

The last submitted patch, 16: 1210178-15-undefined-index-bundles.patch, failed testing.

swentel’s picture

Version: 8.0.x-dev » 7.x-dev

This function does not exist anymore in D8