Hi, when I updated the module to the latest version, I get this error when I click on 'edit' or 'reply' for a comment.

Fatal error: Unsupported operand types in /home/quadmin/public_html/modules/comment_notify/comment_notify.module on line 61

Any ideas how this can be fixed?

CommentFileSizeAuthor
#2 311253_object_is_object.patch884 bytesgreggles

Comments

lomz’s picture

Have you tried to uninstall the module completely?
Thats what I had to do in issue #297307: Internal Server Error when trying to post/edit comment

But, it wouldnt be the first thing I would try.
You will loose information about thoose already subscribing, so If you have a backup-installation it could be worth a try.

greggles’s picture

Category: support » bug
Priority: Normal » Critical
Status: Active » Needs review
StatusFileSize
new884 bytes

This seems like a critical bug to me (and may be the real cause of your problem, lomz).

I've attached a patch that I hope will fix this. I'm not sure why I've never seen this error before...

@keylope - can you test out this patch? Thanks.

greggles’s picture

Status: Needs review » Fixed

This didn't need to be applied to 6.x because somehow fixed it in 6.x already...

Given that, I felt OK committing it to 5.x - http://drupal.org/cvs?commit=141617

Thanks for the report, keylope!

greggles’s picture

Title: Unsupported Operands? » Unsupported Operand types node-type should be node->type
keylope’s picture

Woo hoo! Thanks for the quick fix! That fixed it for me.

keylope’s picture

Status: Fixed » Closed (fixed)