Content suggester not working adding new override

Created on 9 July 2024, 4 months ago
Updated 11 July 2024, 4 months ago

Problem/Motivation

When you try to search a content title from the autocomplete field, the throbber still rotate but the system freeze.

Steps to reproduce

Go to and the admin/config/search/search_override/add page and click on the first field row, then start typing some letters...
System's configuration: Drupal 9.4.8, PHP 7.4.33

These are the first 5 row of the stacktrace:
(Drupal is installed under /var/www/my.domain.it/app/deploy/main/web)

ArgumentCountError: Too few arguments to function Drupal\search_overrides\Controller\Manager::__construct(), 0 passed in /var/www/my.domain.it/app/deploy/main/web/core/lib/Drupal/Core/Controller/ControllerBase.php on line 109 and exactly 3 expected in Drupal\search_overrides\Controller\Manager->__construct() (line 57 of /var/www/my.domain.it/app/deploy/main/web/modules/contrib/search_overrides/src/Controller/Manager.php)
#0 /var/www/my.domain.it/app/deploy/main/web/core/lib/Drupal/Core/Controller/ControllerBase.php(109): Drupal\search_overrides\Controller\Manager->__construct()
#1 /var/www/my.domain.it/app/deploy/main/web/modules/contrib/search_overrides/src/Controller/Manager.php(67): Drupal\Core\Controller\ControllerBase::create(Object(Drupal\Core\DependencyInjection\Container))
#2 /var/www/my.domain.it/app/deploy/main/web/core/lib/Drupal/Core/DependencyInjection/ClassResolver.php(28): Drupal\search_overrides\Controller\Manager::create(Object(Drupal\Core\DependencyInjection\Container))
#3 /var/www/my.domain.it/app/deploy/main/web/core/lib/Drupal/Core/Controller/ControllerResolver.php(117): Drupal\Core\DependencyInjection\ClassResolver->getInstanceFromDefinition('\\Drupal\\search_...')
#4 /var/www/my.domain.it/app/deploy/main/rpweb/web/core/lib/Drupal/Core/Controller/ControllerResolver.php(69): Drupal\Core\Controller\ControllerResolver->createController('\\Drupal\\search_...')
#5 /var/www/my.domain.it/app/deploy/main/rpweb/web/core/lib/Drupal/Core/Controller/ControllerResolver.php(85): Drupal\Core\Controller\ControllerResolver->getControllerFromDefinition('\\Drupal\\search_...', '/search_overrid...')
🐛 Bug report
Status

Active

Version

2.1

Component

Code

Created by

🇮🇹Italy charly71

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

Comments & Activities

Production build 0.71.5 2024