Download & Extend

fatal error: Object of class faceted_search could not be converted to string

Project:Faceted Search
Version:6.x-1.0-beta2
Component:General
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Issue tags:faceted search, views 1068

Issue Summary

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.

AttachmentSize
Untitled.jpg12.47 KB

Comments

#1

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

#2

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

AttachmentSize
no arguments.jpg 57.67 KB

#3

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!

#4

Status:fixed» closed (fixed)

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

#5

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 !

#6

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!

#7

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 :)

#8

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

#9

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.

#10

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

#11

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

nobody click here