I´m using Media 7.x.2.x to handle files and when I add a relationship between an image and a node using the Relation Select module I get the following error.
Warning: strpos() expects parameter 1 to be string, array given in file_uri_scheme() (line 200 of /Applications/MAMP/htdocs/tkdclub/includes/file.inc).
Warning: mb_substr() expects parameter 1 to be string, array given in drupal_substr() (line 518 of /Applications/MAMP/htdocs/tkdclub/includes/unicode.inc).
Warning: rawurlencode() expects parameter 1 to be string, array given in drupal_encode_path() (line 640 of /Applications/MAMP/htdocs/tkdclub/includes/common.inc).I was not sure where to put this report since this might be related to relation select. I´m just not sure so I will post this here since this is the relation brainpool.
Reproduce:
* Install media 7.x.2.x
* Add a non-directional relation type (file/image -> node)
* /admin/structure/file-types/manage/image/fields
* Add a relation select field
* Choose the "Node : Master" view
* Upload an image (file/add)
* Add a relationship to any node using the relation select widget
* Go to admin/content/relation
* ERROR
I notice that the URL doesn´t render with the image file but when I view the relation endpoints it renders fine.
Comments
Comment #1
busla commentedrc3 and dev versions give me the same results.
Comment #2
mikran commentedRelation select is separate project nowadays. Maybe you've not updated that?