I have D7 loaded.
I installed Comment Notify 7.x-1.0-alpha1
When anyone writes an reply to any comment I get the following errors.
PS : I changed my original site name with "mysiite.com"
Notice: Undefined index: name in _comment_notify_mailalert() (line 417 of mysiite.com/public_html/drupal/sites/all/modules/comment_notify/comment_notify.module).
Notice: Undefined property: stdClass::$node_notify_mailalert in _comment_notify_mailalert() (line 440 of mysiite.com/public_html/drupal/sites/all/modules/comment_notify/comment_notify.module).
Notice: Undefined variable: cid in comment_notify_tokens() (line 43 of mysiite.com/public_html/drupal/sites/all/modules/comment_notify/comment_notify.tokens.inc).
// ----this error repeates itself for each commented member.----
Notice: Undefined variable: cid in comment_notify_tokens() (line 43 of mysiite.com/public_html/drupal/sites/all/modules/comment_notify/comment_notify.tokens.inc).
Comment | File | Size | Author |
---|---|---|---|
#6 | 1106336_comment_notify_isset_but_empty.patch | 406 bytes | greggles |
Comments
Comment #1
ibrahim ali CreditAttribution: ibrahim ali commentedI have the first and the third errors. I hope they would be fixed in a new update release, or at least in a new dev version.
Comment #2
TribalMan CreditAttribution: TribalMan commentedI have an error on line 43 when posting a comment by the author of the node
Comment #3
gregglesThose are probably just notices. Worth fixing, but not dealbreakers.
Comment #4
andrebonfanti CreditAttribution: andrebonfanti commentedI have the first error too.
Notice: Undefined index: name in _comment_notify_mailalert() (linea 417 di /home/(mysite)/public_html/sites/all/modules/comment_notify/comment_notify.module).
Comment #5
slater101 CreditAttribution: slater101 commentedYep I have the first one :-(
Going to turn off module until update. everything works perfect though, Subscribed for a fix
Comment #6
gregglesThe issue on 43 is probably no longer relevant now that #952072: [comment:unsubscribe-url] is not working (and a few other token issues) is fixed.
I think the issue on 417, 440 was based on a thinko about isset vs. empty.
Comment #7
gregglesI believe this is a bug meaning the module isn't sending mails when it should and we should commit it soon :)
Reviews would be great, but I'll commit anyway before too long.
Comment #9
gregglesThe tests pass locally, so maybe this is some other issue. I plan to disable testing for this since it's not working well.
Comment #10
gregglesFixed http://drupalcode.org/project/comment_notify.git/commit/652e3ef