Low Search fatal error: special conditional problem with low_search_child: ?
I'm trying out Low Search for the first time. It's been mostly great so far, especially for faceted-type filtering using playa relationships. But I am having a problem with using a special conditional to add a checkmark to an active relationship-based filter, ie:
{if entry_id IN (low_search_child:dataset_natl_discipline)}✓{/if}
This conditional works fine when there is only one active filter (ie associated with a query string fragment of "&child:dataset_natl_discipline=5"). But I get an error when clicking on a second filter (ie the query string fragment changes to
"&child:dataset_natl_discipline=5|13").
Fatal error: ob_start() [ref.outcontrol]: Cannot use output buffering in output buffering display handlers in standarddirectory/codeigniter/system/core/Exceptions.php on line 166
In contrast, multiple checkmarks work just fine when using a special conditional for a category-based filter, ie
{if category_id IN ({low_search_category})}✓{/if}
I'm using Low Search 2.3.1 with GET variables. My EE version is kinda old: 2.4.0, with quite a few addons.
Any help you can offer would be much appreciated.
Thanks!
Replies
Low 5 May 2013 07:47
Quick check, the one thing I'm seeing is you haven't got the {} around the low_search_child:-var in the first special conditional. Make sure it looks like this:
David Lubinski 6 May 2013 04:08
D'oh! Curly brace blindness! I'm simultaneously happy and embarrassed. Thanks for the help and quick reply.