The module generates a strict PHP notice:
Strict warning: Drupal\Core\Plugin\PluginBase and Drupal\Core\StringTranslation\StringTranslationTrait define the same property ($stringTranslation) in the composition of Drupal\select2_bef\Plugin\views\exposed_form\BetterExposedFilters. This might be incompatible, to improve maintainability consider using accessor methods in traits instead. Class was composed in include() (line 404 of modules/contrib/select2boxes/modules/select2_bef/src/Plugin/views/exposed_form/BetterExposedFilters.php).
This error has been previously addressed in the Better Exposed Filters project (https://www.drupal.org/project/better_exposed_filters/issues/2811779) - presumably the Drupal\select2_bef\Plugin\views\exposed_form\BetterExposedFilters class is a copy of the BEF one from before the fix was applied.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | select2_bef-2982628-PHP_strict_warning.patch | 1.24 KB | mrdalesmith |
Comments
Comment #2
mrdalesmith commentedAdding patch to remove unrequired trait.
Comment #3
mrdalesmith commentedComment #4
valentine94MrDaleSmith, nice catch, thanks
Comment #6
matsbla commentedThanks!