ArgumentCountError: Too few arguments to function

Created on 26 April 2025, 3 days ago

Problem/Motivation

The D11 branch has an issue with the settings form

Steps to reproduce

1. Latest Drupal 11
2. 3.x of this module
3. Enable the module
4. Go to admin/config/search/search-api-synonyms/settings

The website encountered an unexpected error. Try again later.

ArgumentCountError: Too few arguments to function Drupal\Core\Form\ConfigFormBase::__construct(), 1 passed in /var/www/html/web/modules/contrib/search_api_synonym/src/Form/SynonymSettingsForm.php on line 36 and exactly 2 expected in Drupal\Core\Form\ConfigFormBase->__construct() (line 44 of core/lib/Drupal/Core/Form/ConfigFormBase.php).

Proposed resolution

Fix the issue.

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇬🇧United Kingdom aaron.ferris

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