Looking around the current active and fixed issues, I see that many people have notices/warnings in different situations, but none is exactly like mine.
This issue may be a duplicate of:
#1536054: Enabling Better Exposed Filters Generates Errors
#1784424: After updating to beta2 I get these 2 errors
#1484200: Undefined index - options_form()
#1823874: Warnings after clear cache
Or maybe not :) because my errors are only "Undefined index: type" and none of the indicated solutions in the issues worked for me.
My scenario:
Drupal: 7.24
Better Exposed Filters: 7.x-3.0-beta3
Views: 7.x-3.7
The Notices appear only on the system log, and are thrown twice on each form opening (options form). I don't know if it matters or not, but it's not a node view, it happens either with a profile2 entity view and with a commerce_product entity view.
Comment | File | Size | Author |
---|---|---|---|
#1 | fix-notice-undefined-index-type-2167529-1.patch | 597 bytes | marcoscano |
Comments
Comment #1
marcoscanojust adding the corresponding isset() solved the issue for me
patch attached
Comment #2
marcoscanoComment #3
marcoscanoComment #5
marcoscano1: fix-notice-undefined-index-type-2167529-1.patch queued for re-testing.
Comment #7
berliner CreditAttribution: berliner commentedThe test fails because the test files are not found. From the review log:
So the patch might as well be a fix for the notices. Anybody cares for manual test and feedback?
Comment #8
hwasem CreditAttribution: hwasem commentedThank you for this. I manually applied and it takes the error away. It was showing up every time I went into my view and click on the BEF setting form.
Drupal 7.26
Better Exposed Filters 7.x-3.0-beta3
Views 7.x-3.7
Comment #9
Neslee Canil PintoHi, there will be no more future development for 7.x branch. If you see this issue in 8.x, feel free to file an issue. Closing this as Closed(wont fix).