Hy! I get this error when I select a view to display the search results from a facet.

recoverable fatal error: Object of class faceted_search could not be converted to string in [site]/modules/views/includes/view.inc on line 1068.

Thanks in advance.

CommentFileSizeAuthor
#2 no arguments.jpg57.67 KBcitadin86
Untitled.jpg12.47 KBcitadin86

Comments

David Lesieur’s picture

Does your view uses arguments? Unfortunately, to work with Faceted Search it should not have any arguments.

citadin86’s picture

StatusFileSize
new57.67 KB

no. there are no arguments. I have a screenshot attached to prove it.
please help me with this one.
thanks in advance.

citadin86’s picture

Status: Active » Fixed

I think I got it.
I filtered the node types in the view and permitted only the type I was interested. Apparently the webform type caused this problem.
Thanks anyway!

Status: Fixed » Closed (fixed)

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

yann_riviere’s picture

Hi,

I have the same issue (different line) when i use a view with filters to print the faceted search result.

The Node filtering type workaround #3 doesn't resolve the issue for me

For me, this is when i use a view with filters to print the faceted search result.

recoverable fatal error: Object of class faceted_search could not be converted to string in /var/www/drupal613/modules/views/includes/view.inc on line 1114.

My view does'nt use arguments.
Any idea?

Thank in advance !

pimousse98’s picture

Status: Closed (fixed) » Active

Hi,
I am reopening this issue because I am getting the same error as #5, my view does not have arguments. It seems to work except for a problem I have with keyword search (list of fields not showing up, see http://drupal.org/node/627890 ).
Thanks!

adrinux’s picture

Just hit this one too:
"recoverable fatal error: Object of class faceted_search could not be converted to string in /var/www/d6/sites/all/modules/views/includes/view.inc on line 1148."

One of my facets, based on taxonomy also fails to appear, so I guess that's the object with a problem. Will need to look at this further in the light of comments above :)

adrinux’s picture

I had a lot of views exposed filters, removing those seems to have cured this for me.

grigs’s picture

One thing to keep in mind is that view you use for faceted search should be separate from any other view displays you need.

I had added displays for blocks and other items I wanted to embed on separate pages. I started getting the "Object of class faceted search" error.

I cloned the view so I had all of the displays I had created and then went to the view that faceted search was using and removed all of the extra displays. Removing them got rid of the error.

tetramentis’s picture

Removing any displays (to only leave Default) seems to have fixed the problem for me, too.

trickyricky26’s picture

Thank you grigs. You saved me a huge headache! View must only have default display.