Hello Guys,

I am using the spam module and it works great, but I noticed I get an error from both the user and the publisher side.

When I try to contact the user from the edit page, this is the error code I get:

Fatal error: Unsupported operand types in /sites/all/modules/spam/content/spam_content_contact.inc line 59

Has anyone received this? Is there something that is causing this error?

David

Comments

AlexisWilke’s picture

Assigned: Unassigned » AlexisWilke

Ah! The '#validate' array may not be defined. I added code for that special case.

Please, try the new 6.x-1.x-dev version once it appears as Oct 17/18 and let us know whether that works for you.

Thank you.
Alexis Wilke

See: http://drupalcode.org/project/spam.git/commit/9de414e

syndicateStorm’s picture

Works like a charm. Thanks for the fix!

AlexisWilke’s picture

Status: Active » Fixed

Okay, it's part of 1.4 now.

Thank you.
Alexis Wilke

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.