Notice: Undefined property: stdClass::$mail in DatabaseStatementBase->fetchAllAssoc() (line 2069 of /xxx/includes/database/database.inc).

i get the following error when someone tries to invite a current user, or someone they have already invited.

Comments

medden’s picture

I am getting the same error.... did anyone find a solution?

glekli’s picture

Status: Active » Needs review
StatusFileSize
new3.54 KB

I ran into the same error and was able to figure it out. I am attaching a patch to fix it.
It looks like the D7 code did not actually filter out e-mail addresses that had previously been registered or invited, but only set an error. That is, the invitation e-mail was sent anyway, even though the error message appeared.

glekli’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

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