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

  • 1 month ago
    [preflight] The following restricted PHP modes have non-empty values: {open_basedir}. This configuration is incompatible with drush.

    Same with Drush 13 + PHP 8.3

  • 1 month ago
    Acronis CyberProtect Agent For Linux (Strato Root Server)

    Initializing...

    Error : Failed to install the required package 'RPM' by using APT. Please install it manually. 

    Exit


    Solution:

  • 1 month ago
    Acronis CyberProtect Agent For Linux (Strato Root Server)

    So habe es installiert und dann mit Hilfe von Key/Code (über Website von Acronis Cyber Protect) aktiviert:

  • 1 month ago
    No route found for the specified format html. Supported formats: csv, json. (Drupal Routing)

    I have a view with a path like /my-content-export to export entivies as JSON or CSV.

  • 1 month 1 week ago
    InvalidArgumentException: The controller for URI "/admin/flush" is not callable.

    admin_toolbar 3.5.2 is the reason. Patch coming ...

  • 31 minutes 50 seconds ago
    PDOException: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock

    Drupal 10.4:

  • 2 months 1 week ago
    Server install & config : Debian 12 + Plesk + Apache + nginx + MariaDB + Solr

    Tools & Settings >> Security Policy :

     Allow only secure FTPS connections 

  • 3 months 3 weeks ago
    MariaDB Server Performance Optimieren

     

    /usr/sbin/mariadbd --help --verbose | grep "query.*size"
  • 3 months 3 weeks ago
    MariaDB Server Performance Optimieren

    Commandline:

    systemctl restart mariadb
  • 3 months 3 weeks ago
    MariaDB Server Performance Optimieren

    After my changes in /etc/mysql/db-performance.cnf