Download & Extend

Errors when flushing cache using default configuration

Project:GeoNames
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

#1

Status:active» fixed

This is caused by:

<?php
  $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

#2

Status:fixed» closed (fixed)

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