Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have two identical views, one is a block and one is a page. In both I have an exposed filter. On the block BEF is set to hidden.
The block is displayed on a panel page alongside another block with the exposed filter from the page view. This works fine, the filter changes the content on the page, but I get this warning:
Notice: Undefined variable: id in theme_select_as_hidden() (line 205 of localhost/sites/all/modules/better_exposed_filters/better_exposed_filters.theme).
If I select 3 sort options I see the warning three times. How do I get rid of this?
Comments
Comment #1
museumboy CreditAttribution: museumboy commentedOne more comment: The warning is only there when the BEF on the block are set to hidden. I could hide the content with CSS but I'm wondering if it's possible to not do that with the warning.
Comment #2
mikeker CreditAttribution: mikeker commentedWow, that was a tricky one -- it had to be a multi-select filter that had a value set for it and was hidden! Good find and thank you for the bug report.
Fixed.