Whenever I try to create a facet block in views, I get this error message:
Notice: Undefined index: name in SearchApiViewsFacetsBlockDisplay->getFieldOptions() (line 130 of /var/www/html/sites/all/modules/search_api/contrib/search_api_views/includes/display_facet_block.inc).
How can this be fixed?
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 1347150--views-facets-block-3.patch | 681 bytes | drunken monkey |
Comments
Comment #1
cpliakas commentedThis code seems to be part of the Search API module, so punting over there unless there is an underlying issue in Facet API causing this notice error.
Thanks,
Chris
Comment #2
BeaPower commentedOk, thanks.
Comment #3
drunken monkeyPlease test.
Comment #4
BeaPower commentedHi, that error went away and I am now able to see facet fields. But now I am left with this error:
Notice: Undefined index: theme in views_plugin->theme_functions() (line 498 of /var/www/html/sites/all/modules/views/includes/plugins.inc).
Comment #5
BeaPower commentedAlso when creating a block hierarchy doesn't show, and also I cannot configure facet display and dependencies of these custom blocks.
Comment #6
drunken monkeyCommitted the patch, the other issues are unrelated.
Comment #7
BeaPower commentedOk, but how about post #5?
Comment #8
BeaPower commentedAlso when I create a block for non search pages, other facet blocks that are supposed to only appear on the search pages appear. How can that be fixed?