Using the latest stable versions of Views and Administration Menu have cause a number of my sites to come up with 500 errors when someone with permissions to use the admin menu try to log in. They are presented with a 500 error and I have to delete the module completely from the system before it works again.

The error messages I receive in the server error_log is:
mod_fcgid: stderr: PHP Fatal error: Call to undefined function views_get_enabled_views() in /var/www/vhosts/wvsba.org/subdomains/publications/httpdocs/sites/all/modules/admin_menu/admin_menu.map.inc on line 150

Is there something I am doing wrong or something else I can do to help remedy this situation and continue using Admin Menu? (it is superior to Core menu).

This all happens the second I enable Admin Menu module.

Comments

sun’s picture

Status: Active » Closed (cannot reproduce)

views_get_enabled_views() is defined by views.module:
http://drupalcode.org/project/views.git/blob/refs/heads/7.x-3.x:/views.m...

If you get that error, then this means that Views module is not loaded.