cf similar issues: https://drupal.org/node/656280 | https://drupal.org/node/888086#comment-3582470
The hook_init isn't when installing in a profile, so the file isn't included, and yet called at audiorecorderfield/audiorecorderfield.module on line 187.
Looking at at filefield, and the above, it seems the solution sadly is to include it in the module and hence at bootstrap time. Looking at the code it only seems to be the #element_validate callback function where it wouldn't be possible to include it as required. Maybe wrong though so...
Simple patch to just move it out of hook_init() follows.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1442402-01-audiorecorderfield-hook-init.patch | 1003 bytes | ekes |
Comments
Comment #1
ekes commentedComment #2
tamerzg commentedThanks, I just committed to dev.