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

citadin86 - April 22, 2009 - 20:22
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
Description

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

#1

David Lesieur - May 4, 2009 - 21:47

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

#2

citadin86 - May 6, 2009 - 12:18

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

citadin86 - May 6, 2009 - 15:25
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

System Message - May 20, 2009 - 15:30
Status:fixed» closed

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

#5

yann_riviere - July 21, 2009 - 21:52

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

pimousse98 - November 9, 2009 - 18:37
Status:closed» 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

adrinux - November 14, 2009 - 10:34

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

adrinux - November 16, 2009 - 21:28

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

#9

grigs - November 17, 2009 - 22:33

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.

 
 

Drupal is a registered trademark of Dries Buytaert.