Reported by hass:

     $items[] = array(
       'path' => 'admin/project/project-release-settings',
       'description' => t('Configure the default version string for releases and other settings for the Project release module.'),
       'title' => t('Project release settings'),
       'callback' => 'drupal_get_form',
       'callback arguments' => 'project_release_settings_form',
       'access' => user_access('administer projects'),
       'weight' => 1,
       'type' => MENU_NORMAL_ITEM,
     );

Callback arguments should be an array:

     $items[] = array(
       'path' => 'admin/project/project-release-settings',
       'description' => t('Configure the default version string for releases and other settings for the Project release module.'),
       'title' => t('Project release settings'),
       'callback' => 'drupal_get_form',
       'callback arguments' => array('project_release_settings_form'),
       'access' => user_access('administer projects'),
       'weight' => 1,
       'type' => MENU_NORMAL_ITEM,
     );

Comments

drumm’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

5.x is very much not supported and the equivalent has been fixed in 6.x.