When using User Relations with Invite by activating user relationship invites, the following error messages appeared:
# Notice: Undefined variable: user in user_relationship_invites_form_invite_form_alter() (line 37 of /public_html/sites/all/modules/user_relationships/user_relationship_invites/user_relationship_invites.module).
# Notice: Undefined index: values in user_relationship_invites_form_invite_form_alter() (line 37 of /public_html/sites/all/modules/user_relationships/user_relationship_invites/user_relationship_invites.module).
# Notice: Trying to get property of non-object in _user_relationships_ui_get_requestable_rtypes() (line 322 of /public_html/sites/all/modules/user_relationships/user_relationships_ui/user_relationships_ui.module).
# Notice: Trying to get property of non-object in user_relationships_ui_request_form() (line 53 of /public_html/sites/all/modules/user_relationships/user_relationships_ui/user_relationships_ui.forms.inc).
Please help. Many thanks.
Regards,
Chang
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | fix_invite_notices.patch | 1.31 KB | berdir |
Comments
Comment #1
berdirTry the attached patch, that should fix the notices.
Note that this sub-module has never been tested yet since Invite.module wasn't ready. Please report any bugs you can find (in new issues, though)
Comment #2
BenK commentedSubscribing... there's a working version of Invite module now so we can do more testing.
--Ben
Comment #3
BenK commented@ccheu: Can you try Berdir's patch so that we can close out this issue?
Comment #4
berdirCommited. Please create new issues if you encounter new problems.