Warning from form.inc in admin/settings/decisions

tatien - November 23, 2006 - 03:09
Project:Decisions
Version:HEAD
Component:Code
Category:bug report
Priority:normal
Assigned:tatien
Status:closed
Description

When I try to access decisions settings in admin/settings/decisions I get the following error:

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

It seems to stem from line 462 in decisions_menu():

    $items[] = array(
                     'path' => 'admin/settings/decisions',
                     'title' => t('Decisions'),
                     'description' => t('Update settings for Decisions'),
                     'callback' => 'drupal_get_form',
                     'callback arguments' => array('decisions_settings_helper'), // <--- here
                     'access' => user_access('administer decisions'),
                    
                     );

#1

jbolivar - December 25, 2006 - 05:33

I get the same warning, can you solved it?

Thanks and Regards,

Julian Bolivar

#2

Bèrto ëd Sèra - January 26, 2007 - 14:13

Same here, some 30 days later.

#3

dmjossel - February 9, 2007 - 06:19

Same here. Is this being abandoned in favor of advanced poll? There's another issue asking for what the distinctions are between this module and advanced poll, but there are no follow-ups. I cannot get Decisions to work in either the 4.7 or 5.x releases.

#4

tatien - February 14, 2007 - 22:34
Assigned to:Anonymous» tatien
Status:active» fixed

Fixed in HEAD, see log #56180.

#5

Anonymous - February 28, 2007 - 22:46
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.