after clearing the cache i get this notice:

Notice: Undefined index: bundles in field_ui_admin_menu_map() (Line 69 in /sites/all/modules/admin_menu/admin_menu.map.inc).

I was able to fix it by changing this:

    foreach ($info['bundles'] as $bundle_name => $bundle_info) {

into this:

  if(isset($info['bundles'])) {
    foreach ($info['bundles'] as $bundle_name => $bundle_info) {

Comments

petsagouris’s picture

I can't reproduce this on the 7.x-3.0-rc1 version on drupal 7.10.
Any more info you can provide?

sun’s picture

Status: Active » Closed (cannot reproduce)

I'm not able to replicate this issue. Please make sure you also test whether this issue still exists when using the latest versions/development snapshots of affected modules. If that does not help, then also try to temporarily disable potentially conflicting modules that may interfere with this functionality.

nevergone’s picture

Status: Closed (cannot reproduce) » Active

I'm updated site: Drupal 7.10 -> Drupal 7.15 and Administration menu 7.x-3.x-dev (datestamp: 1318723314) -> 7.x-3.0-rc3+24-dev (datestamp: 1343088439) with PHP 5.3.10.

The error message:

Notice: Undefined index: bundles in field_ui_admin_menu_map() (line 65 of /media/data/Virtualhost/obuda.hu.loc/sites/all/modules/contrib/admin_menu/admin_menu.map.inc). Backtrace:

field_ui_admin_menu_map()
call_user_func_array('field_ui_admin_menu_map', Array) module.inc:850
module_invoke_all('admin_menu_map') admin_menu.inc:18
admin_menu_tree('management') admin_menu.module:482
admin_menu_output() admin_menu.module:201
admin_menu_page_build(Array) common.inc:5621
drupal_render_page(Array) common.inc:2588
drupal_deliver_html_page(Array) common.inc:2476
drupal_deliver_page(Array, '') menu.inc:531
menu_execute_active_handler() index.php:21

Warning: Invalid argument supplied for foreach() in field_ui_admin_menu_map() (line 65 of /media/data/Virtualhost/obuda.hu.loc/sites/all/modules/contrib/admin_menu/admin_menu.map.inc). Backtrace:

field_ui_admin_menu_map()
call_user_func_array('field_ui_admin_menu_map', Array) module.inc:850
module_invoke_all('admin_menu_map') admin_menu.inc:18
admin_menu_tree('management') admin_menu.module:482
admin_menu_output() admin_menu.module:201
admin_menu_page_build(Array) common.inc:5621
drupal_render_page(Array) common.inc:2588
drupal_deliver_html_page(Array) common.inc:2476
drupal_deliver_page(Array, '') menu.inc:531
menu_execute_active_handler() index.php:21

opstao’s picture

Issue summary: View changes

I had this error in a site on 7.30, and still have it after update to 7.31. I get these 2 errors together:

  • Notice: Undefined index: bundles in field_ui_admin_menu_map() (line 65 of C:\inetpub\wwwroot\naccas\sites\all\modules\admin_menu\admin_menu.map.inc).
  • Warning: Invalid argument supplied for foreach() in field_ui_admin_menu_map() (line 65 of C:\inetpub\wwwroot\naccas\sites\all\modules\admin_menu\admin_menu.map.inc).
c.breschkow’s picture

I have the same error. Can you make a bugfix?

giorgosk’s picture

Version: 7.x-3.0-rc1 » 7.x-3.x-dev

I can see this on latest dev but not on rc5
noting this as it might be forgotten in the dev release

Notice: Undefined index: map in field_ui_admin_menu_map() (line 86 of /var/www/vhosts/domain.com/sites/all/modules/admin_menu/admin_menu.map.inc).
Yuri’s picture

Bug still exists.

mpastas’s picture

Bug still happening. I'm running behat automated tests and the warning is:

Notice: Undefined index: map in field_ui_admin_menu_map() (line 86 of C:\apps\roi\www\WSD000\www\sites\all\modules\contrib\admin_menu\admin_menu.map.inc).

noman_297’s picture

I have the same issue it is due to dev version of admin menu.Just uninstall the dev version of admin menu and remove the module from your sites module folder, download the latest admin menu 7.x-3.0-rc5 enable it and clear the cache.hope it will resolve the problem.

jeffglenn’s picture

#9 worked for me. Thank you.

Had the dev version and I reverted back to the Recommended Release 7.x-3.0-rc5. I don't get the error anymore.

imclean’s picture

The error in #6 and #8 is different to the original report. The first post mentions "bundles" as the missing index, not "map".

For this error, see: #2502695: Undefined index map in field_ui_admin_menu_map() when clearing cache

truls1502’s picture

Status: Active » Postponed (maintainer needs more info)
Issue tags: +postponed2w

I am sorry for no reply until now.

There are many issues regarding this module admin_menu which is a bit difficult for us to follow up since some of the issues might be already outdated, or is already fixed by the module or any other modules or itself core which means that the problem might no longer need to be fixed.

We can see that the issue has been created for a few years ago, I hope it is okay for you that I am postponing the issue, and give you around two weeks. If you still face the problem, could you tell us the step by step when until you get the error message or what is frustrated you, and a list of modules you are using related to admin_menu and a screenshot that might help us? So it makes us easier to reproduce your issue.

However, after two weeks with no feedback - we will close this issue. So in case, you noticed it after the issue is closed, do not hesitate to reopen it like and fill information which is mentioned above.

So before giving us a feedback, do you mind to test it again with our latest 7.x-3.x-dev?

Thank you for understanding! :)

truls1502’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)
Issue tags: -postponed2w

This issue has been automatically marked as closed because it has not had recent activity after the last post.

However, if you or someone is still facing the same issue as described to the issue, could you please to re-open the issue by changing the status of the issue, and add an explanation with more details which can help us to reproduce your situation.

Again, thank you for your contributions! :)