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.
The trigger module is not listed between the dependencies of this module, and if somebody using this module without the trigger module, will receive this error message: Fatal error: Call to undefined function _trigger_get_hook_aids() in /....../modules/mail_logger/mail_logger.module on line 235
Comments
Comment #1
Ela CreditAttribution: Ela commentedYes, I got the same error since I was not using trigger.
Comment #2
deekayen CreditAttribution: deekayen commentedI added the dependency to the .info file in DRUPAL-6--1.
Comment #4
dalinA better fix might be to conditionally call the trigger and actions only if they exist.
Comment #5
fizk CreditAttribution: fizk commenteddalin, you can open another issue if you'd like to explore your suggestion further.
Comment #6
fizk CreditAttribution: fizk commentedScratch that, I've added a module_exists() check and removed the dependency on Trigger in the .info.