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.
Trying to update to the latest version of the FileField module I receive the following error from drush:
Executing filefield_meta_update_6100 [success]
Drush command could not be completed. [error]
Output from failed command : [error]
Fatal error: Call to undefined function filefield_meta_file_update() in
xxxxxx/sites/all/modules/filefield/filefield_meta/filefield_meta.install
on line 165
The same error occurs running update.php manually.
Comments
Comment #1
quicksketchThanks for the report. You can fix this problem by enabling FileField Meta, then running the updates. What's probably happening here is that the module's not loaded (since it's disabled), but the update is trying to call a function in it.
Comment #2
wuh CreditAttribution: wuh commentedWorked like a charm, thank you!
Comment #3
ChaToXXX CreditAttribution: ChaToXXX commentedThank you, this (enabling filefield_meta before the update.php) worked for me too.