- Issue created by @oasweb
- Assigned to deepak tomar
- Status changed to Needs work
about 1 month ago 4:00am 3 September 2025 - ๐ฎ๐ณIndia deepak tomar
This error is happening because in PHP 8 strict type compatibility is enforced for return types.
In Drupal 10, the defaultConfiguration() method in FilterWidgetBase has a declared return type : array, while in the custom module (selective_better_exposed_filters) the overriding method doesnโt declare the return type.
I have provided this patch to fix the issue.