Declaration ViewsAutocompleteFiltersTrait::valueForm must be compatible with SearchApiNumeric::valueForm

Created on 17 May 2024, 7 months ago
Updated 24 June 2024, 6 months ago

This error occurs when using https://www.drupal.org/project/drupal/issues/3347343 Continuation Add Views EntityReference filter to be available for all entity reference fields Needs work 's https://git.drupalcode.org/project/drupal/-/merge_requests/4053/diffs PR.

Fatal error: Declaration of Drupal\views_autocomplete_filters\Plugin\views\filter\ViewsAutocompleteFiltersTrait::valueForm(&$form, Drupal\Core\Form\FormStateInterface $form_state) must be compatible with Drupal\search_api\Plugin\views\filter\SearchApiNumeric::valueForm(&$form, Drupal\Core\Form\FormStateInterface $form_state): void in /var/www/html/web/modules/contrib/views_autocomplete_filters/src/Plugin/views/filter/ViewsAutocompleteFiltersTrait.php on line 167
🐛 Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

🇹🇷Turkey emircan erkul Turkey

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