Hello,

I get the following error:

    * warning:  for foreach() in /www/htdocs/w0081f37/profiles/default/modules/user_relationships/plugins/user_relationship_implications/user_relationship_implications.module on line 92.
    * warning: Invalid argument supplied for foreach() in /www/htdocs/w0081f37/profiles/default/modules/user_relationships/plugins/user_relationship_implications/user_relationship_implications.module on line 96.

This has been posted before and I read it was fixed in version 2.8, but I am using this version and still get the error and did not find a fix for it. I also am not able to save changes to the relationship once it is created. I always need to remove the relationship and create a new one, which means that the users also lose their relation to each other.

Did I miss something or is it still an active problem?

What I did:

I tried to edit a existing relationship in admin->relationships.

Another error I get:

The first argument should be an array in /www/htdocs/w0081f37/profiles/default/modules/user_relationships/plugins/user_relationship_implications/user_relationship_implications.module on line 239.

I would be happy about help.

Comments

jaydub’s picture

Status: Active » Closed (fixed)

Don't see this error myself and from looking at the code relationship_type->implies and ->implied_by should always be set to at least an empty array so this error shouldn't happen now.

closing for now. feel free to reopen if you encounter this.