I did disable old and uninstalled, then uploaded v2.3 enanbled it, but...

When i go to admin/structure/block and an error come, and when enable the block in a region it will not enable when i save

•Notice: Undefined index: user_details_help_form i drupal_retrieve_form() (linje 752 af /customers/7/f/a/xxxxx.dk/httpd.www/d1/includes/form.inc).
•Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'user_details_help_form' not found or invalid function name i drupal_retrieve_form() (linje 787 af /customers/7/f/a/xxxxx.dk/httpd.www/d1/includes/form.inc).

When i go to admin/config/user-interface/user-details
the same error there

Pafla

Comments

Draven_Caine’s picture

Status: Active » Postponed (maintainer needs more info)

Wrong order for the upgrade.

upload new files -> un-install -> install
Try this way and if the error is still there, let me know.

Draven

**Update**
I also checked my dev site, and a live site using this module and they both do not have this error.

Draven_Caine’s picture

Status: Postponed (maintainer needs more info) » Needs review

Pafla try this:
got to user_detail.module and at the top of the file you will see:

/**
 * Implements of hook_help().
 *
 * Creates a basic help page(accessible from the modules page).
 */
function user_details_help($path, $arg) {
  $output = '';
  switch ($path) {
    case "admin/help#user_details":
      require_once drupal_get_path('module', 'user_details') .'/user_details_help.inc';
  }
  return drupal_render(drupal_get_form('user_details_help_form'));
}

Change it to:

/**
 * Implements of hook_help().
 *
 * Creates a basic help page(accessible from the modules page).
 */
function user_details_help($path, $arg) {
  $output = '';
  switch ($path) {
    case "admin/help#user_details":
      require_once drupal_get_path('module', 'user_details') .'/user_details_help.inc';
      $output = drupal_get_form('user_details_help_form');
  }
  return drupal_render($output);
}

Draven

pafla’s picture

I tried to:
upload v2.3 > disable > enable (could not uninstall at admin/modules/uninstall)
The error still there this way

Can you please tell me exact how to do this?

Is it your intension to have a very big description at admin/modules or?

Pafla

pafla’s picture

I tried edit user_detail.module

errors is gone
And at admin/modules the description is gone too

Pafla

dejavu_007’s picture

Draven_Caine’s picture

Status: Needs review » Closed (fixed)

Fixed in 2.4