I get the following error with imagefield_crop installed when trying to use drush updatedb
Fatal error: Call to undefined function imagefield_crop_widget_settings_save() in /home/tom/workspace/concern6/sites/all/modules/contrib/imagefield_crop/imagefield_crop.module on line 54
Moving the two instances of module_load_include() out of hook_init() up to the top of the file fixes it.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 656280-imagefield-crop-drush-widget-settings.patch | 541 bytes | mrfelton |
Comments
Comment #1
mrfelton commentedRetitling to make clearer.
Comment #2
mrfelton commentedAnd a patch that resolves.
Comment #3
yhager commentedWhy is that needed?
Shouldn't
drush updatedbcall hook_init anyway?Does it also happen with 'update.php'?
Comment #4
blazindrop commentedI get the same exact error when trying to call pm-enable . This is actually preventing me from enabling a set of modules on a cloned site, and it's somewhat discouraging that there's been no progress on this bug in almost 7 months.
mrfelton, thanks for the patch... I'll give that a test drive.
Comment #5
msonnabaum commentedI ran into this bug enabling this module using an install profile. Patch fixes it.
Marking RTBC.
Comment #6
omega8cc commentedThis patch helped us resolving one important issue we had with OpenScholar and Aegir, see: http://drupal.org/node/888086#comment-3582470
Comment #7
YK85 commentedsubscribing
Comment #8
ruplThe patch in #2 eliminated an error I encountered while enabling a Feature that had imagefield_crop as a dependency.
Giving this a bump and reiterating RTBC.
Comment #9
yhager commentedThanks, committed (sorry for the delay)