Closed (fixed)
Project:
Biblio Facets
Version:
5.x-0.4
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Mar 2008 at 10:26 UTC
Updated:
7 May 2008 at 15:52 UTC
After upgrading to the latest version of faceted search it stopped working. I can only get faceted search to work again by disabling biblio_facets.
These errors turn up in the log files:
preg_match() expects parameter 2 to be string, array given in /data/sites/onderzoeksbalans/modules/search/search.module op regel 619.
Greetings,
Koen Van Daele
Comments
Comment #1
David Lesieur commentedCould it be that you're using Faceted Search "dev" rather than 0.21 ?
Comment #2
Kador commentedNo, this is what the Drupal modules page says:
Faceted Search
5.x-0.21
API for performing faceted searches.
Afhankelijk van: Search (ingeschakeld)
Vereist voor: Author Facet (ingeschakeld), Biblio Facets (uitgeschakeld), Biblio Type Facet (uitgeschakeld), Content Type Facet (uitgeschakeld), Date Authored Facet (uitgeschakeld), Date Facets Format (uitgeschakeld), Faceted Search UI (ingeschakeld), Taxonomy Facets (ingeschakeld)
Comment #3
Helmut Neubauer commentedToday I updated Faceted Search from 0.11 to 0.21. In my environment I can't choose biblio facets now. They are not there although the biblio facet moduls are enabled and I set the biblio facets in administer faceted search. I tried the 0.20 version too. Same problem.
I didn't have an error message or warning.
Comment #4
Kador commentedHello,
is there any progress on this?
Greetings,
Koen
Comment #5
zhahai commentedSame problem.
What I've decoded so far:
faceted_search.inc : function faceted_search() goes through modules invoking hook (modulename)_faceted_search_collect and accumulating text as $text;
it will call biblio_facets.module : biblio_facets_faceted_search_collect() which will return
an array rather than a string **problem?**
the $text containing an array will be passed as final argument to function taxonomy_facets.module : taxonomy_facets_faceted_search_collect() , thence to search.module : search_query_extract, where it will be found to be an array rather than a string, triggering this error.
I think the error occurs at **problem?** point above - returning an array rather than a string. But I'm not at all familiar with the internals of either module, and I don't know which one may have changed.
Please help!
Comment #6
David Lesieur commentedThe new Biblio Facets 1.0 beta1 (just released) should work with Faceted Search 1.0 beta1 (also just released).
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.