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

museumboy’s picture

One 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.

mikeker’s picture

Version: 7.x-3.0 » 7.x-3.x-dev
Category: Support request » Bug report
Status: Active » Fixed

Wow, 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.

  • mikeker committed 7368587 on
    Issue #2463895: Undefined variable: id in theme_select_as_hidden()
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.