Drupal 8.9 / 9 Search API Solr Error (search_api_solr / search_api_spellcheck)

Fehlermeldung: 

TypeError: Argument 3 passed to Drupal\search_api_solr\Plugin\search_api\backend\SearchApiSolrBackend::setSpellcheck() must be of the type array, bool given, called in /home/user1523/domains/test3.example.com/public_html/modules/contrib/search_api_solr/src/Plugin/search_api/backend/SearchApiSolrBackend.php on line 1468 in Drupal\search_api_solr\Plugin\search_api\backend\SearchApiSolrBackend->setSpellcheck() (line 4163 of /home/user1523/domains/test3.example.com/public_html/modules/contrib/search_api_solr/src/Plugin/search_api/backend/SearchApiSolrBackend.php) #0 /home/user1523/domains/test3.example.com/public_html/modules/contrib/search_api_solr/src/Plugin/search_api/backend/SearchApiSolrBackend.php(1468): Drupal\search_api_solr\Plugin\search_api\backend\SearchApiSolrBackend->setSpellcheck() #1 /home/user1523/domains/test3.example.com/public_html/modules/contrib/search_api/src/Entity/Server.php(468): Drupal\search_api_solr\Plugin\search_api\backend\SearchApiSolrBackend->search() #2 /home/user1523/domains/test3.example.com/public_html/modules/contrib/search_api/src/Query/Query.php(539): Drupal\search_api\Entity\Server->search() #3 /home/user1523/domains/test3.example.com/public_html/modules/contrib/search_api/src/Plugin/views/query/SearchApiQuery.php(575): Drupal\search_api\Query\Query->execute() #4 /home/user1523/domains/test3.example.com/public_html/core/modules/views/src/ViewExecutable.php(1426): Drupal\search_api\Plugin\views\query\SearchApiQuery->execute() #5 /home/user1523/domains/test3.example.com/public_html/core/modules/views/src/ViewExecutable.php(1454): Drupal\views\ViewExecutable->execute() #6 /home/user1523/domains/test3.example.com/public_html/core/modules/views/src/Plugin/views/display/Page.php(183): Drupal\views\ViewExecutable->render() #7 /home/user1523/domains/test3.example.com/public_html/core/modules/views/src/ViewExecutable.php(1630): Drupal\views\Plugin\views\display\Page->execute() #8 /home/user1523/domains/test3.example.com/public_html/core/modules/views/src/Element/View.php(77): Drupal\views\ViewExecutable->executeDisplay() #9 [internal function]: Drupal\views\Element\View::preRenderViewElement() #10 /home/user1523/domains/test3.example.com/public_html/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php(100): call_user_func_array() #11 /home/user1523/domains/test3.example.com/public_html/core/lib/Drupal/Core/Render/Renderer.php(781): Drupal\Core\Render\Renderer->doTrustedCallback() #12 /home/user1523/domains/test3.example.com/public_html/core/lib/Drupal/Core/Render/Renderer.php(372): Drupal\Core\Render\Renderer->doCallback() #13 /home/user1523/domains/test3.example.com/public_html/core/lib/Drupal/Core/Render/Renderer.php(200): Drupal\Core\Render\Renderer->doRender() #14 /home/user1523/domains/test3.example.com/public_html/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(226): Drupal\Core\Render\Renderer->render() #15 /home/user1523/domains/test3.example.com/public_html/core/lib/Drupal/Core/Render/Renderer.php(573): Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() #16 /home/user1523/domains/test3.example.com/public_html/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(227): Drupal\Core\Render\Renderer->executeInRenderContext() #17 /home/user1523/domains/test3.example.com/public_html/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(117): Drupal\Core\Render\MainContent\HtmlRenderer->prepare() #18 /home/user1523/domains/test3.example.com/public_html/core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php(90): Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse() #19 [internal function]: Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray() #20 /home/user1523/domains/test3.example.com/public_html/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(111): call_user_func() #21 /home/user1523/domains/test3.example.com/public_html/vendor/symfony/http-kernel/HttpKernel.php(156): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch() #22 /home/user1523/domains/test3.example.com/public_html/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw() #23 /home/user1523/domains/test3.example.com/public_html/core/lib/Drupal/Core/StackMiddleware/Session.php(57): Symfony\Component\HttpKernel\HttpKernel->handle() #24 /home/user1523/domains/test3.example.com/public_html/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(47): Drupal\Core\StackMiddleware\Session->handle() #25 /home/user1523/domains/test3.example.com/public_html/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle() #26 /home/user1523/domains/test3.example.com/public_html/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass() #27 /home/user1523/domains/test3.example.com/public_html/core/modules/ban/src/BanMiddleware.php(50): Drupal\page_cache\StackMiddleware\PageCache->handle() #28 /home/user1523/domains/test3.example.com/public_html/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(47): Drupal\ban\BanMiddleware->handle() #29 /home/user1523/domains/test3.example.com/public_html/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(52): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() #30 /home/user1523/domains/test3.example.com/public_html/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() #31 /home/user1523/domains/test3.example.com/public_html/core/lib/Drupal/Core/DrupalKernel.php(708): Stack\StackedHttpKernel->handle() #32 /home/user1523/domains/test3.example.com/public_html/index.php(19): Drupal\Core\DrupalKernel->handle() #33 {main}.

Wie kann man Apache SOLR konfigurieren, dass Drupal 8 Search_API_Spellcheck funktioniert?

System / Module:

  1. Drupal 8.9
  2. Search API 1.7
  3. Search APi Solr 4.1
  4. Search APi Spellcheck 3

 

Neuen Kommentar schreiben

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

Suche

Neueste Kommentare

  • 4 weeks ago
    Transaction isolation level REPEATABLE-READ The recommended level for Drupal is "READ COMMITTED". (Drupal Status Report)

     Edit "/etc/my.cnf" ( under [mysqld] ):

    transaction_isolation="READ-COMMITTED"

    Restart MariaDB / MySQL:

  • 1 month ago
    Wget - Eine Webseite rekursive downloaden

    wget -U 'Mozilla/MyUserAgent' -P MyTempDir123 --wait=0.2 --random-wait -nd -r -x -l 4 -e robots=off --reject

  • 1 month ago
    Wget - Eine Webseite rekursive downloaden

    wget -U 'Mozilla/MyUserAgent2024' -P MyOutPutDirectory --wait=1 --random-wait -nd -r -l 2 -e robots=off --reject

  • 2 months 1 week ago
    CPU benchmarking with sysbench (single-threaded/all cores)

     

    # sysbench --threads="$(nproc)" cpu run

  • 2 months 1 week ago
    CPU benchmarking with sysbench (single-threaded/all cores)

    # sysbench --threads="$(nproc)" cpu run

  • 2 months 1 week ago
    Linux Autovervollständigung - bash autocomplete
    source ~/.bashrc

    Diese Lösung wird empfohlen aber hat bei mir nicht funktioniert.

    Welche Alternative gibt es?

  • 2 months 1 week ago
    PHP-CLI auf PHP8.2 umstellen (für Composer, Drush etc)

    ln -snf /opt/plesk/php/8.3/bin/php /etc/alternatives/php

  • 2 months 1 week ago
    Drush Update failed (require php >=8.2)

    In composer.json, update: 

     

  • 2 months 1 week ago
    Drupal: Anmeldung fehlgeschlagen Es hat mehr als 5 fehlerhafte Anmeldeversuche für dieses Benutzerkonto gegeben. Es ist vorübergehend gesperrt.
    drush sqlq "DELETE FROM flood"
  • 2 months 1 week ago
    Drupal SMTP + Gmail funktioniert nicht mehr (Passwort ist richtig); was ist die Lösung?