I am using the OpenPublish Alpha3 distribution with Drupal 7.10. After upgrading to Views 3.1, the "Search Form" block throws the following error when trying to perform a search:

Fatal error: Call to undefined method view::load()

Fatal error: Call to undefined method view::load() in /MySiteName/profiles/openpublish/modules/contrib/views_boxes/plugins/views_boxes_view.inc on line 388

CommentFileSizeAuthor
#1 views-boxes-views3-1409242-1.patch518 bytesbrenk28
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

brenk28’s picture

Need to look into this a bit more, but I'm not sure that line is actually needed.

misteroriginal’s picture

The patch appears to solve the problem at hand.

tirdadc’s picture

Status: Active » Reviewed & tested by the community

That method was removed in Views here: http://drupal.org/node/1377758

The $view object was already initialized with views_get_view(), it seems to me that the $view->load was superfluous and I'm not sure I see any difference in $view before and after it was called. I tested without it on an existing site and didn't notice any issues.

tirdadc’s picture

Assigned: Unassigned » tirdadc
Status: Reviewed & tested by the community » Fixed

Pushed, thanks!

Status: Fixed » Closed (fixed)

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