Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Updating to latest dev (7.x-4.0-beta2+37-dev of 2014-11-05) on drupal 7.32 gives error:
Update #7401
Failed: FieldException: Attempt to update an instance of a nonexistent field . in field_update_instance() (line 557 of ....\modules\field\field.crud.inc).
Comments
Comment #1
thehong CreditAttribution: thehong commentedComment #2
djdevinQuiz doesn't use field_update_instance in update hooks, in fact there is no update called "7401" anywhere in quiz module.This must be for another module?Nevermind, I found it:
quiz_question_update_7401();
Did you delete the "body" field on questions before you updated?
Comment #3
zeezhao CreditAttribution: zeezhao commentedNo. I have seen it fail on two separate installations trying to upgrade earlier versions of 4.x
Comment #4
EM-fast1 CreditAttribution: EM-fast1 commentedThis issue can be fixed by disableing all quiz sub-modules and ONLY enabling quiz, quiz questions and quiz pages, clearing caches and running the db update. It works. See issue:
https://www.drupal.org/node/2448565
Comment #5
djdevin