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:
- Drupal 8.9
- Search API 1.7
- Search APi Solr 4.1
- Search APi Spellcheck 3
Neuen Kommentar schreiben