else {
    drupal_set_title(t('Deactivate Simple Access'));
    $form[] = array(
      '#type' => 'submit',
      '#value' => t('Deactivate'),
      '#prefix' => t("<p>Before deactivating simple_access.module, you'll need to click this button in order to remove the simple_access grants from the database. If you do not do this, all of your nodes will become invisible to anyone but administators when you deactivate the module.</p><p><strong>Do this only when you want to deactivate the module.</strong></p>")
    );
    $output .= drupal_get_form('simple_access_deactivate', $form);

should be:

  else {
    drupal_set_title(t('Deactivate Simple Access'));
    $form[] = array(
      '#type' => 'submit',
      '#value' => t('Deactivate'),
      '#prefix' => t("<p>Before deactivating simple_access.module, you'll need to click this button in order to remove the simple_access grants from the database. If you do not do this, all of your nodes will become invisible to anyone but administators when you deactivate the module.</p><p><strong>Do this only when you want to deactivate the module.</strong></p>")
    );
    $output .= drupal_get_form('simple_access_setup_page', $form);

Comments

Robrecht Jacques’s picture

#65640 has another fix for this (with patch attached). I don't know if this method also works.

gordon’s picture

Status: Active » Closed (duplicate)

I have fixed this now.