function menu_cache_clear


Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/
cis7 menu_cache_clear($menu_name = 'navigation')
cle7 menu_cache_clear($menu_name = 'navigation')
elmsmedia7 menu_cache_clear($menu_name = 'navigation')
icor7 menu_cache_clear($menu_name = 'navigation')
meedjum_blog7 menu_cache_clear($menu_name = 'navigation')
mooc7 menu_cache_clear($menu_name = 'navigation')

Clears the cached cached data for a single named menu.

Related topics

3 calls to menu_cache_clear()
admin_menu_update_6001 in sites/all/modules/ulmus/admin_menu/admin_menu.install
Wipe and rebuild so we can switch the icon path to <front>.
menu_link_save in includes/
Saves a menu link.
_menu_delete_item in includes/
Deletes a single menu link.


includes/, line 2656
API for the Drupal menu system.


function menu_cache_clear($menu_name = 'navigation') {
  $cache_cleared = &drupal_static(__FUNCTION__, array());

  if (empty($cache_cleared[$menu_name])) {
    cache_clear_all('links:' . $menu_name . ':', 'cache_menu', TRUE);
    $cache_cleared[$menu_name] = 1;
  elseif ($cache_cleared[$menu_name] == 1) {
    drupal_register_shutdown_function('cache_clear_all', 'links:' . $menu_name . ':', 'cache_menu', TRUE);
    $cache_cleared[$menu_name] = 2;

  // Also clear the menu system static caches.



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.