Get error message after posting a comment
benkenney - March 3, 2008 - 23:08
| Project: | Comment Notify |
| Version: | 5.x-1.5 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
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.

#1
I 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.
#2
It'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.
#3
Great to hear that it's fixed now.
#4
Active 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.
#5
This 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
#6
Just for the record, it was an accidental commit during fixing that other issue. Whoops.
#7
patch #5 from @greggles fix problem.
Thank you!
#8
Great - fixed and I'll roll a new release.
#9
Automatically closed -- issue fixed for two weeks with no activity.