2

I inherited a site from a previous webmaster (who doesn't seem to have known what he what doing) last month and I have been trying to fix it up since then, but one pesky update issue won't go away. Whenever I run update.php, it goes through halfway and then stops with the following messages:

✓ Verify requirements(done)
✓ Overview(done)
▶ Review updates(active)

Warning message

Some of the pending updates cannot be applied because their dependencies were not met.

Status message

No pending updates.

Front page
Administration pages

I've been getting this error message for some time now whenever I run update. Some searching revealed that uninstalling and reinstalling the affected module might fix the error, but I can't figure out where it is coming from, or which module could be causing it. Is there any way to find out which module is causing this error without uninstalling and re-installing every single module on the site?

1

Just in case someone else finds this ... I added a watchdog line to the function update_script_selection_form($form, &$form_state) in update.php.

foreach ($updates as $module => $update) {
  if (!isset($update['start'])) {
    $form['start'][$module] = array(
      '#type' => 'item',
      '#title' => $module . ' module',
      '#markup'  => $update['warning'],
      '#prefix' => '<div class="messages warning">',
      '#suffix' => '</div>',
    );
    watchdog('update','NO START: '.$module);
    $incompatible_updates_exist = TRUE;

    ...

It was XML sitemap causing the problems on a D6->D7 upgrade, and I ended up having to delete its tables manually before it would uninstall.

| improve this answer | |
  • Brilliant!!! Helped a lot. – Kari Kääriäinen Sep 19 '15 at 15:48
  • Same problem today in D8 (8.8.1). – liquidcms Dec 30 '19 at 23:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.