When the exposed filter are showed in block and the user visit the page view the system show a message of error

"Notice: Undefined index: dependent_exposed_filters en views_dependent_filters_exposed_form_after_build() (line 32 of .../sites/all/modules/contrib/views_dependent_filters/views_dependent_filters.module)."

Comments

antoniogr’s picture

StatusFileSize
new2.99 KB

I added one condition to "form_state['dependent_exposed_filters']" is not empty before go in the foreach and the error is fixed.

Here is the patched

mustanggb’s picture

Status: Active » Needs review
john cook’s picture

Status: Needs review » Reviewed & tested by the community

Patch in #1 prevents the error.

alibenski’s picture

Thank you. The patch works.
I will do some more testing but for now, this is good.

  • Jibus committed afa3dd8 on 7.x-1.x authored by antoniogr
    Issue #2507435 by antoniogr: Notice: Undefined index:...
jibus’s picture

Status: Reviewed & tested by the community » Fixed

Committed against 7.x-1.x, thanks !

jibus’s picture

Assigned: antoniogr » Unassigned

Status: Fixed » Closed (fixed)

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

shevgeny’s picture

Version: 7.x-1.1 » 7.x-1.x-dev
Priority: Normal » Critical

This error is not fixed! This module does not work.
Error:

Notice: Undefined index: field_brand_tid в функции views_dependent_filters_exposed_form_after_build() (on line 44 in .../sites/all/modules/views_dependent_filters/views_dependent_filters.module).