While trying to create a relationship to another view using the representative view drop down, I get this fatal error. I've tried installing the 7.x-3.x-dev version of views with the same error.
I have installed the 7.x-3.1 version of the Views module and the 7.10 of Dupal core.
I am relatively new to Drupal and tried to research the error on my own without success.
I have attached a screenshot of the error.

CommentFileSizeAuthor
#5 1412734.patch868 bytesdawehner
viewsError.png87.58 KBjeepers52004
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

danielb’s picture

Are you using the View reference module? At what point does this happen? Can you use the View properly without View reference?

jeepers52004’s picture

I believe I am using the standard Views UI. I have several views created and they work fine. I was trying to add a relationship to another view through the Advanced drop down menu in the view editing window. When I try to add the relationship, representative node and then choose a representative view, a get the error upon submitting.
Again, I am new to Drupal and I may not be going in the right direction to accomplish my goal, but thought I shouldn't get the error?

danielb’s picture

Project: View reference » Views (for Drupal 7)

I think you've posted this in the wrong place. This issue queue is specifically for a module that inserts views into content.
I'll move this to the Views issue queue.
If you want an explanation of how these issue queues work see here: http://drupal.org/node/317

dawehner’s picture

Priority: Normal » Major

view::load got removed as it seemed to be unnecessary as it's not used by views_get_view.
Sadly the relationship handler used it.

As this quite a experimental feature set it just to major.
The short fix would be to reintroduce the function.

dawehner’s picture

Status: Active » Needs review
FileSize
868 bytes

I don't see a reason why this patch shouldn't work.

Can you please try it out?

bschilt’s picture

Status: Needs review » Reviewed & tested by the community

the patch in #5 worked for me. I was receiving the Call to undefined method view::load() too when trying to use a view to retrieve the representative node.

Just need to figure out how to use the representative view...

jeepers52004’s picture

Can you point me to the relevant info on applying the patch?

danielb’s picture

jeepers, go to the Views project page and click "version control" near the top. Scroll down to 'applying a patch'. You need to know some git basics, and have git.
However as this is a simple patch, you can apply it manually. Read the patch file for clues as to the file and lines to edit, the code with "-" before it is to be deleted, and the code with "+" before it is to be inserted.

dawehner’s picture

Status: Reviewed & tested by the community » Fixed

Committed the patch to 7.x-3.x

Status: Fixed » Closed (fixed)

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