I get the following error for an admin user when the user searches a Solr index.
( ! ) Fatal error: Call to undefined method stdClass::access() in /vagrant/drupal/current/sites/all/modules/contrib/views/includes/view.inc on line 766

It seems that when a user has the permission "manipulate queues" then the view->build() function is called on any view in nodequeue.module line 380. In the case of our Solr results view something goes wrong and a fatal error occurs.

Comments

mErilainen created an issue.

mErilainen’s picture

This seems to happen because a default argument is added to some views in custom code for fetching keywords for a Solr search view from a parameter. So quite specific case, but I'm leaving this open because nodequeue module was still causing the error to appear in first place. So maybe there is a better way to add those contextual links or whatever is happening there.