Drupal\jts_solr_queries\EventSubscriber\EventListener::dataTypeInfoAlter(): Argument #1 ($event) must be of type Symfony\Component\EventDispatcher\Event

Created on 28 January 2024, 10 months ago
Updated 11 February 2024, 10 months ago

Problem/Motivation

In drupal 10 when drush cr:

An exception has been thrown during the rendering of a template ("Drupal\jts_solr_queries\EventSubscriber\EventListener::dataType
InfoAlter(): Argument #1 ($event) must be of type Symfony\Component\EventDispatcher\Event, Drupal\search_api\Event\GatheringPlugi
nInfoEvent given") in "__string_template__ad3d9d102e6e5ac33b7a4ec7da7ccf70" at line 1.

In EventListener.php line 47:

Drupal\jts_solr_queries\EventSubscriber\EventListener::dataTypeInfoAlter(): Argument #1 ($event) must be of type Symfony\Componen
t\EventDispatcher\Event, Drupal\search_api\Event\GatheringPluginInfoEvent given

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇪🇸Spain aleix

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

Comments & Activities

Production build 0.71.5 2024