Critical error on non-boolean value

Created on 25 June 2025, 3 months ago

Problem/Motivation

When I add the "Active filters" handler to my view, I receive the following error during the exposed form submit
TypeError: Drupal\active_filters\Plugin\views\area\ActiveFilters::isRemovable(): Argument #2 ($removable) must be of type bool, int given

Proposed resolution

Convert value to a boolean when passing to the isRemovable method.

Additional note: I'm using Drupal 10.4.7.

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine alt.dev

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024