Error when Posting solr schema

Created on 9 February 2023, over 1 year ago
Updated 21 June 2024, 3 months ago

When trying to post schema, getting the following error

Too few arguments to function Drupal\search_api_solr\Controller\SolrConfigSetController::__construct(), 0 passed in /code/web/modules/composer/search_api_pantheon/src/Services/SchemaPoster.php on line 245 and exactly 1 expected in Drupal\search_api_solr\Controller\SolrConfigSetController->__construct() (line 52 of /code/web/modules/composer/search_api_solr/src/Controller/SolrConfigSetController.php)

Steps to reproduce

Search API solr: Version: 4.2.9
Go to /admin/config/search/search-api/server/pantheon_solr8/pantheon-admin/schema
Click Post Schema

Proposed resolution

Patch /src/Services/SchemaPoster.php to add enabled modules to SolrConfigSetController instantiation

πŸ› Bug report
Status

Fixed

Version

8.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States kgthompson

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

Comments & Activities

Production build 0.71.5 2024