Hi,

When attempting to delete a default friend I get a blank content screen. I upgraded to 6.x-1.0-RC4 but still have the same problem. Please see the screen shot.

Anyone have any ideas as I need to delete one of my default friends on a production site!

Thank you.

CommentFileSizeAuthor
user_relationship_screenshot.jpg12.96 KBvictoria_b

Comments

victoria_b’s picture

Sorry,

Forgot to add the following from my log...

Parameter 2 to user_relationship_defaults_delete_form() expected to be a reference, value given in includes/form.inc on line 372.

So is this a PHP5.3 (which I'm running) problem?

Thank you.

alex.k’s picture

Version: 6.x-1.0-rc3 » 6.x-1.0-rc4
Status: Active » Fixed

Wow, good catch. Thanks for reporting. Passing by reference was indeed the problem. Fix committed in http://drupal.org/cvs?commit=373256. Please try it out.

victoria_b’s picture

Alex,

Thanks for this quick update.

I can confirm that the fix does work however checking through my logs the below error is appearing:

Object of class stdClass could not be converted to string in /beta/sites/all/modules/user_relationships/user_relationship_defaults/user_relationship_defaults.module on line 194.

Again, any thoughts on this?

Victoria

victoria_b’s picture

Sorry for the bump, but does the above error still need fixing in relation to this issue for it to be considered fixed? Or can it be safely ignored?

alex.k’s picture

I will take a look at the second error, but, if the module works for you right now, then I'd not worry about it being a problem.

alex.k’s picture

Status: Fixed » Active
mrf’s picture

Component: Code » Defaults
mrf’s picture

Status: Active » Closed (cannot reproduce)

I'm not able to replicate this one.