function _menu_clear_page_cache


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_clear_page_cache()
cle7 _menu_clear_page_cache()
elmsmedia7 _menu_clear_page_cache()
icor7 _menu_clear_page_cache()
meedjum_blog7 _menu_clear_page_cache()
mooc7 _menu_clear_page_cache()

Clears the page and block caches at most twice per page load.

Related topics

3 calls to _menu_clear_page_cache()
menu_link_save in includes/
Saves a menu link.
menu_rebuild in includes/
Populates the database tables used by various menu functions.
_menu_delete_item in includes/
Deletes a single menu link.


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


function _menu_clear_page_cache() {
  $cache_cleared = &drupal_static(__FUNCTION__, 0);

  // Clear the page and block caches, but at most twice, including at
  //  the end of the page load when there are multiple links saved or deleted.
  if ($cache_cleared == 0) {
    // Keep track of which menus have expanded items.
    $cache_cleared = 1;
  elseif ($cache_cleared == 1) {
    // Keep track of which menus have expanded items.
    $cache_cleared = 2;



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.