Problem/Motivation

When clicking on "Settings" for exposed filters it does nothing and the ajax response shows this error:
Undefined index: type in better_exposed_filters/src/Plugin/better_exposed_filters/filter/FilterWidgetBase.php on line 51

Steps to reproduce

Create a view with a taxonomy filter. Try to use Better Exposed Filters -> Settings.

Proposed resolution

Do an index check on the array.

Remaining tasks

Test and merge the patch.

User interface changes

None

API changes

None

Data model changes

None

CommentFileSizeAuthor
#2 3205070-1.patch757 bytespatrick.thurmond@gmail.com

Comments

pthurmond created an issue. See original summary.

patrick.thurmond@gmail.com’s picture

StatusFileSize
new757 bytes

Here is my patch that fixes this issue.

gg24’s picture

Hi @pthurmond,

Though the patch looks good to me, I am not able to reproduce the issue. It seems there is some specific scenario for your case.

Please provide me the steps to reproduce the issue.

Thanks!

neslee canil pinto’s picture

Version: 8.x-5.0-beta1 » 8.x-5.x-dev
Status: Active » Postponed (maintainer needs more info)

@pthurmond same here, not able to reproduce this bug.

neslee canil pinto’s picture

Status: Postponed (maintainer needs more info) » Fixed

This has been fixed, if it still exists please inform here after testing. Marking as fixed. Thanks.

Status: Fixed » Closed (fixed)

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