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.
I have a quiz module I have upgraded from a 6.x to 7.x where the first version I used was alpha9.
Comments
Comment #1
gouky10 CreditAttribution: gouky10 commentedHello,
I had the same error, so I verificated the code of update and I noticed that there is a function that is used only for drupal 6 updates, it is in line 145 of /quiz/questions_types/short_answer/short_answer.install:
Besides I noticed that the correct function is in the same file, it is in line 137
In order to know more about the diference I recomend you to view: db_add_field/7 and db_add_field/6. hook_update_N/7 is useful too.
To solve the problem I only comment the first function and run the update.php I hope it could help you.
Regards from Perú.
Comment #2
carneymo CreditAttribution: carneymo commentedTo confirm, #1 worked for me. Commenting out the function seemed to have resolved the issue.
Comment #3
akeemw CreditAttribution: akeemw commentedRemoving that function worked for me as well.
Comment #4
Sivaji_Ganesh_Jojodae CreditAttribution: Sivaji_Ganesh_Jojodae commentedWith respect to 7.x branch short_answer_update_6401() is no longer there in short_answer.install