I can't use created reference view. In Edit field page in "Views - Users that can be referenced" section I have message "No eligible view was found." although the view is created (see attachment).

What's wrong?

Comments

yched’s picture

After updating to the very latest Views 3.x, I also couldn't get any of my eligible views to show up in the "Views - Users|Nodes that can be referenced" field setting. Everything went back to normal after a cache clear though.

I'm assuming this is caused by some recent changes in Views ?

romantaran’s picture

I have cleared the cache but nothing changes.

xjkwak’s picture

Only is required a view with display type: 'References'.

clashar’s picture

Status: Active » Fixed

xjkwak, thanks!
you saved me a lot of time!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

user654’s picture

.

giorgio79’s picture

I have a view with References display, when I try to edit the field I get a fatal error that I traced for this module's reference view feature:

Fatal error: Call to a member function get_option() on a non-object in sites/all/modules/views/includes/view.inc on line 2243

PS: It turns out I needed to recreate the same view in D7, the upgrade from D6 didn't cut it...

maxheight’s picture

I don't even have REFERENCES as an option in views!!

webbykat’s picture

To anyone else with maxheight's issue - when you add a new display to an existing view, References will be a display type you can add, like Feed.

PMorris’s picture

Issue summary: View changes
StatusFileSize
new131.44 KB

Just to clarify what webbykat said, the only way to add references view is to add to existing view. Doesn't seem to be a way to do it from scratch

See screenshot