When clicking on the "Clear Cache" link from /admin/settings/geonames I get the following errors:


warning: Invalid argument supplied for foreach() in /Applications/MAMP/htdocs/drupal6/includes/menu.inc on line 263.
warning: array_merge() [function.array-merge]: Argument #1 is not an array in /Applications/MAMP/htdocs/drupal6/includes/menu.inc on line 328.

Comments

lyricnz’s picture

Status: Active » Fixed

This is caused by:

  $items['admin/settings/geonames/clear_cache'] = array(
    'type' => MENU_CALLBACK,
    'access arguments' => array('administer site configuration'),
    'page callback' => 'geonames_cache_clear',
    'page arguments' => TRUE,             //  not valid - should be array(TRUE)
  );

Fixed in 6.x-1.x-dev : http://drupal.org/cvs?commit=262342

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.