When I try to add a user relationship with another user, I get the following errors:
* warning: Invalid argument supplied for foreach() in C:\Web\Server\htdocs\movdev\sites\default\modules\user_relationships\user_relationships.module on line 277.
* warning: Attempt to assign property of non-object in C:\Web\Server\htdocs\movdev\sites\default\modules\user_relationships\user_relationships_actions.inc on line 173.
* warning: Attempt to assign property of non-object in C:\Web\Server\htdocs\movdev\sites\default\modules\user_relationships\user_relationships_actions.inc on line 174.
* warning: Attempt to assign property of non-object in C:\Web\Server\htdocs\movdev\sites\default\modules\user_relationships\user_relationships_actions.inc on line 175.
* warning: Attempt to assign property of non-object in C:\Web\Server\htdocs\movdev\sites\default\modules\user_relationships\user_relationships_api.inc on line 265.
* warning: Attempt to assign property of non-object in C:\Web\Server\htdocs\movdev\sites\default\modules\user_relationships\user_relationships_api.inc on line 266.
* warning: Attempt to assign property of non-object in C:\Web\Server\htdocs\movdev\sites\default\modules\user_relationships\user_relationships_api.inc on line 267.
With this notification below the errors:
"Your request to be a of Guest has been submitted."
I know I was able to create relationships before, but it's not working now, possibly a problem related to updating the module? I can also remove relationships just fine, just can't add them.
Comments
Comment #1
tannerjfco commentedCome to think of it, I used the Buddylist Import to move all of the existing relationships over to UR. It's possible that I haven't used UR's add relationship function yet, and this has been a problem I just haven't encountered yet (this site isn't public at the moment, so I'm the only one using it at this time)
Comment #2
tannerjfco commentedDoes anyone have an idea as to what's going on here?
Comment #3
arilikeairy commentedI have a similar problem, but it only happens when I try to add the reverse relationship of one already requested. (Ex. if user1 requests to be 'student' of user2 AND 'professor') Here's the error:
I haven't used buddylist. I am using alpha5 of Advanced Profile Kit.
Comment #4
tannerjfco commentedI really hate bumping issues, but I posted this about a month and a half ago and I've heard nothing, and I desperately need this to work. I've tried reinstalling the module, and trying a new relation type, but to no avail.
Comment #5
tannerjfco commentedit seems the uninstall I previously did didn't completely remove the UR data from the database. Another uninstall seems to have done the trick.