Download & Extend

Warning from form.inc in admin/settings/decisions

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

Issue Summary

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'),
                    
                     );

Comments

#1

I get the same warning, can you solved it?

Thanks and Regards,

Julian Bolivar

#2

Same here, some 30 days later.

#3

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

Assigned to:Anonymous» tatien
Status:active» fixed

Fixed in HEAD, see log #56180.

#5

Status:fixed» closed (fixed)