Closed (fixed)
Project:
Search API
Version:
7.x-1.x-dev
Component:
Database search
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Mar 2011 at 13:33 UTC
Updated:
19 Mar 2011 at 12:51 UTC
I would like to ask for support to decode the error.
SearchApiException: Doch nicht. in SearchApiDbService->getFacets() (line 996 of /users/planiram/public_html/planiram/sites/all/modules/search_api/contrib/search_api_db/service.inc).
Comments
Comment #1
kansaj commentedafter removing the line everything works fine
Comment #2
drunken monkeyOh, god, thanks for spotting this! As the comment next to it suggests, this was for debugging purposes and never meant to be committed.
However, I actually thought that this would never be executed, and apparently it also never was for anyone else. Could you please test this by replacing the line with the following:
throw new SearchApiException(print_r($db_query->getFields(), TRUE));and then post the exception message (the HTML source of the message would be the best, to preserve the formatting)? I would really be interested in what case I didn't think of, there …
In any case, this will be fixed right away, thanks again!
By the way, the message right now roughly translates to "Not after all." in German.
Comment #3
drunken monkeyAlso interesting would be what kind of search you are executing. Search page, Views, custom? As said, I don't really know what kind of query could cause this error.
Comment #4
kansaj commentedtest was done , but the problem persists. It is actually normal Search page.
After completely removing the line it's working and producing the next error message
Fatal error: Call to a member function entityWrapper() on a non-object in /users/planiram/public_html/planiram/sites/all/modules/search_api/contrib/search_api_facets/search_api_facets.module on line 888
Comment #5
drunken monkeyOh, damn, now I know what's going on here. And of course I completely forgot this issue yesterday and now there's a Beta release with a German debugging message triggering in certain circumstances. Hilarious. -_-
I fixed this issue, the other one seems to be unrelated, though. Please open another issue if this problem persists.
I'll do another Beta release once your problems are solved.
Comment #6
drunken monkey