Using both grouped filters and BEF on taxonomy term filters causes a multitude or warnings and notices:

Notice: Undefined index: #default_value in function theme_select_as_checkboxes() (/var/www/sites/all/modules/better_exposed_filters/better_exposed_filters.theme line 84).
Warning: array_search() expects parameter 2 to be array, null given in function theme_select_as_checkboxes() (/var/www/sites/all/modules/better_exposed_filters/better_exposed_filters.theme line 124).

Found and fixed the culprit code, patch attached, please port asap.
Files: 
CommentFileSizeAuthor
bef_grouped_filters_bug_2013-07-01.patch1.46 KBKarsa
Test request sent.
[ View ]

Comments

Status:Patch (to be ported)» Needs review

Status:Needs review» Postponed (maintainer needs more info)

Can you give me steps to repro this bug? I'm unable with basic grouped exposed filters and BEF.

Thanks.

Status:Postponed (maintainer needs more info)» Needs work

I added a basic taxonomy term filter, made it grouped, added five options (I think the number of options is key), selected BEF, made my term filter display as checkboxes. And that was all.
See: http://karsa.org/views_test/articles_bef

same issue
Notice: Undefined index: og_group_ref_target_id_op in better_exposed_filters_exposed_form_plugin->exposed_form_alter() (line 1263 of /sites/all/modules/better_exposed_filters/better_exposed_filters_exposed_form_plugin.inc).

Issue summary:View changes

This is happening for me except with an "Author UID" filter, set to have groups (one option for each of our 2 administrators, plus a default of -any-).