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.
When message_notify_send_message is called and can't find the plugin for the specified notifier, an exception is thrown, but a misplaced parenthesis causes a fatal PHP error:
Wrong parameters for Exception([string $exception [, long $code [, Exception $previous = NULL]]]) in sites/all/modules/contrib/message_notify/message_notify.module on line 24
The misplaced parenthesis means the format_string $args parameter is being passed to the MessageNotifyException constructor instead of format_args. A patch is attached to resolve this error.
Comment | File | Size | Author |
---|---|---|---|
#4 | message_notify-message_notify_send_message-2148987.patch | 742 bytes | dwillems |
Comments
Comment #1
dwillems CreditAttribution: dwillems commentedComment #2
amitaibucorrect status
Comment #4
dwillems CreditAttribution: dwillems commentedCorrectd paths in patch file.
Comment #6
bluegeek9 CreditAttribution: bluegeek9 as a volunteer commented