I have enabled module. Set up to be radio buttons and checkboxs in BEF and I got this error on page rendered by views. I set exposed form to be separate block.

This is error form latest 7 stable release:

Notice: Undefined index: #options in better_exposed_filters_exposed_form_plugin->exposed_form_alter() (line 752 of C:\xampp\htdocs\va\sites\all\modules\better_exposed_filters\better_exposed_filters_exposed_form_plugin.inc).
Warning: Invalid argument supplied for foreach() in better_exposed_filters_exposed_form_plugin->exposed_form_alter() (line 752of C:\xampp\htdocs\va\sites\all\modules\better_exposed_filters\better_exposed_filters_exposed_form_plugin.inc).

Error with latest 7 dev:

Notice: Undefined index: #options in better_exposed_filters_exposed_form_plugin->exposed_form_alter() (line 1041 of C:\xampp\htdocs\va\sites\all\modules\better_exposed_filters\better_exposed_filters_exposed_form_plugin.inc).
Warning: Invalid argument supplied for foreach() in better_exposed_filters_exposed_form_plugin->exposed_form_alter() (line 1043 of C:\xampp\htdocs\va\sites\all\modules\better_exposed_filters\better_exposed_filters_exposed_form_plugin.inc).
  • Separate block - enabled/disabled - still error
  • Radio buttons and checkboxs/Nested radio buttons and checkboxs - still error
  • Allow/Disallow multiple values - still error
  • I use 2 ajax autocomplete for taxanomy content fields on form block - after BEF one did not render

Let me know if do you need more config info.

Update:
I wanted to do after/before printscreen, so set up everything without BEF and then set up view back to BEF state and error disappear. Strange, but seem that it is working.

Comments

jasom’s picture

Issue summary: View changes

va edit

jasom’s picture

Issue summary: View changes

d7 error

jasom’s picture

Issue summary: View changes

edit beter

jasom’s picture

Issue summary: View changes

update meeesga

vanvemden’s picture

Had the same error for a field set in BEF to 'Check boxes/Radio buttons'. Under the view's FILTER CRITERIA, I had the filter field set to filter type 'Autocomplete' (look under Settings). After I changed Autocomplete to Dropdown, the error disappeared.

mikeker’s picture

Assigned: Unassigned » mikeker

The real issue is that BEF settings are available for a filter using the autocomplete widget... I'll look into that.

Thanks for the bug report.

mikeker’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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

mikeker’s picture

Assigned: mikeker » Unassigned
mikeker’s picture

Issue summary: View changes

Update