The "" plugin does not exist.

Created on 12 October 2024, 2 months ago

Problem/Motivation

Install of "search_api" and trying to configure an index for a database search engine...

I get this error on trying to save the index.

Drupal\search_api\SearchApiException: The "" plugin does not exist. Valid plugin IDs for Drupal\search_api\Tracker\TrackerPluginManager are: default in Drupal\search_api\Utility\PluginHelper->createIndexPlugin() (line 81 of /code/web/modules/contrib/search_api/src/Utility/PluginHelper.php).

Note the empty "" plugin???

As you can see here... I've selected the required field for the tracker ...

Steps to reproduce

"drupal/search_api": "^1.35",

Set up a search server, set up an index for that ... and boom.

I've got the same errors when attempting to use SOLR instead of the database.

Proposed resolution

Remaining tasks

πŸ› Bug report
Status

Active

Version

1.35

Component

General code

Created by

πŸ‡ΊπŸ‡ΈUnited States alphex Atlanta, GA USA

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

Comments & Activities

  • Issue created by @alphex
  • πŸ‡¦πŸ‡ΉAustria drunken monkey Vienna, Austria

    It seems like the search_api.settings:default_tracker config key is not properly set? Normally, it should have been set to default on installation.
    Maybe try reinstalling the module and see if that helps? Otherwise, please tell me the output of \Drupal::config('search_api.settings')->get('default_tracker'); (or look up that config key some other way).

  • πŸ‡ΊπŸ‡ΈUnited States alphex Atlanta, GA USA

    Drunken Monkey, thanks.

    You keyed in on something else wacky going on with this site. We've been having issues with things not being installed via config.

    lando drush php \Drupal::config('search_api.settings')->get('default_tracker');
    zsh: no matches found: Drupal::config(search_api.settings)-
    

    In multiple scenarios we've had to manually copy conifg out of modules in to the site config, to get it recognized.

    I'm going to try and manually import the config, and see what happens, will report back.

  • πŸ‡ΊπŸ‡ΈUnited States alphex Atlanta, GA USA

    Confirmed, something is very much up with this install of Drupal.

    I manually copied the "search_api.settings.yml" file from search_api/config in to my site config, drush cim, and things work...

    Thank you for that gudience.

    This is a fresh 10.3.6 install, so I'm going to go look for issues around config not importing on module install...

    Marking closed.

    Thank you.

Production build 0.71.5 2024