Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I get this error msg after posting a comment:
": Object of class stdClass could not be converted to string in /var/www/vhosts/thewatt.com/httpdocs/sites/all/modules/comment_notify/comment_notify.module on line 272."
The comment still gets posted. I guess I shouldn't be using dev.
Comment | File | Size | Author |
---|---|---|---|
#5 | comment_notify-object_to_string_error-229574-5.patch | 981 bytes | greggles |
Comments
Comment #1
gregglesI believe this was fixed in 5.x-1.4.
Which version is this? Please either use a 5.x-1.4 or include the $id: line from the top of the comment_notify.module when reporting the issue.
Comment #2
benkenney CreditAttribution: benkenney commentedIt's for Drupal 5.6, comment_notify v 5.x-1.x-dev (March 2008). I'm now using 5.x-1.4 and I don't get this error anymore.
Comment #3
gregglesGreat to hear that it's fixed now.
Comment #4
romand CreditAttribution: romand commentedActive on comment_notify-5.x-1.5, Drupal 5.7:
___
recoverable fatal error: Object of class stdClass could not be converted to string in /home/uadromco/public_html/sites/all/modules/comment_notify/comment_notify.module on line 279.
___
Update: comment_notify-5.x-1.4 work fine.
Comment #5
gregglesThis was a slightly different bug (I think) but quite similar.
Can you test the attached patch? I think it was a typo in the fix I made for #219677: Missing use of db_prefix
Comment #6
gregglesJust for the record, it was an accidental commit during fixing that other issue. Whoops.
Comment #7
romand CreditAttribution: romand commentedpatch #5 from @greggles fix problem.
Thank you!
Comment #8
gregglesGreat - fixed and I'll roll a new release.
Comment #9
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.