In my Drupal 6.6 install, I got these errors on the Focus admin screen (admin/settings/focus)...

warning: Invalid argument supplied for foreach() in 
/includes/menu.inc on line 258.

warning: array_merge() [function.array-merge]: Argument #1 is not an array in 
/includes/menu.inc on line 323.

warning: Missing argument 1 for drupal_get_form() in 
/includes/form.inc on line 69.

warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '' was given in /includes/form.inc on line 366.

I looked into this a bit more, and this thread inspired me to make a small change that seems to have worked out. http://drupal.org/node/244569

In focus.module,v 1.3.2.2 2008/09/29, I changed Line 48... from this:
'page arguments' => 'focus_admin_settings',

to this:
'page arguments' => array('focus_admin_settings'),

I then cleared my site's Performance Cache, and now I am able to see the Focus settings page.

Comments

twooten’s picture

I've just verified that this is still an issue with the module as of October 6, 2009. The change from
'page arguments' => 'focus_admin_settings',

to this:
'page arguments' => array('focus_admin_settings'),

does work.

anders.fajerson’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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