Hello, I'm getting this error every time I try to edit a relation from content/relation:
Recoverable fatal error: Argument 3 passed to l() must be an array, null given, called in /home/.../sites/all/modules/relation/relation_endpoint.module on line 144 and defined in l() (line 2340 of /.../includes/common.inc).
I also run into the same error when, in views if I try to load the field endpoints.
PS: i don't know if its related, but in views, when I insert the field user:uid I get an empty value.
Hope someone can help me.
Thanks
nico
Comments
Comment #1
mikran commentedI think this is actually a bug. What kind of endpoints entities did you have that caused the error?
Comment #2
joeyunitus commentedI encountered the same error trying to select a relation I created. It was a Directional relation between an article node and an image.
Comment #3
chx commentedThis is only possible if entity_uri() comes back empty handed. What sort of image was that? What entity type? The bug report belongs to the module defining the image entity type and not relation cos they didnt define a uri callback.
Comment #4
zkday commentedI have a same problem when had created relation between: Node -> Profile2 Type.
Default if entity haven't defined in the 'uri callback' of hook_entity_info, the function
entity_uriwill be return NULL. I think we need to check it.This is patch for this issue.
Comment #5
jayhariani commentedI ran into the same issue when a endpoint was an entity from the Message module (using 7.x-1.0-rc3 ). The patch in #4 fixed it.
Comment #6
mikran commented