I'm having problems with my menu.inc file? The errors I am receiving are:

Notice: Undefined index: access in menu_local_tasks() (line 1890 of /var/www/html/drupal-7.0/includes/menu.inc).
Notice: Undefined index: access in _menu_translate() (line 776 of /var/www/html/drupal-7.0/includes/menu.inc).

site is at:

This doesn't look like a module problem but, I'm not sure what it is.



juliangb’s picture

This is a PHP notice - which says that it is trying to select part of an array (indexed "access"), but that index does not exist, so can't be returned.

It is a bug - fixed by slightly stricter programming.

mjurick’s picture

I have the same issue. Call me a n00b, but could you please be a little more specific on how to fix this issue? I have no idea what "slightly stricter programming" is exactly.


oscarrg78’s picture

Hello there,

We have the same problem, which I understand that is related to this previous post.


Anyone understand how to do the patch, does it have to be run in the SQL query at the database?

It happened to me when I installed organic groups in Drupal 7.

oscarrg78’s picture

As I learn more about the issue I found that the patch goes to the Drupal core.

So, if the previous that I posted is April 2010, theoretically it should be fixed for the core 7.0 of January 2011.

I have to find something else, because our site is also slowing down.

oscarrg78’s picture

There is a lot of issues in the Drupal core related to "Undefined Index".

I am hoping that someone suggest a major fix.


See you around, and cheers,