arning: Undefined array key "indexing_options" in Drupal\ai_search\Plugin\EmbeddingStrategy\EmbeddingBase->buildBaseMetadata()

Created on 20 January 2025, about 1 month ago

Problem/Motivation

Warning: Undefined array key "indexing_options" in Drupal\ai_search\Plugin\EmbeddingStrategy\EmbeddingBase->buildBaseMetadata() (Zeile 317 in /var/www/html/web/modules/contrib/ai/modules/ai_search/src/Plugin/EmbeddingStrategy/EmbeddingBase.php)
#0 /var/www/html/web/core/includes/bootstrap.inc(108): _drupal_error_handler_real()
#1 /var/www/html/web/modules/contrib/ai/modules/ai_search/src/Plugin/EmbeddingStrategy/EmbeddingBase.php(317): _drupal_error_handler()
#2 /var/www/html/web/modules/contrib/ai/modules/ai_search/src/Plugin/EmbeddingStrategy/EmbeddingBase.php(48): Drupal\ai_search\Plugin\EmbeddingStrategy\EmbeddingBase->buildBaseMetadata()
#3 /var/www/html/web/modules/contrib/ai/src/Base/AiVdbProviderClientBase.php(257): Drupal\ai_search\Plugin\EmbeddingStrategy\EmbeddingBase->getEmbedding()
#4 /var/www/html/web/modules/contrib/ai/modules/ai_search/src/Plugin/search_api/backend/SearchApiAiSearchBackend.php(341): Drupal\ai\Base\AiVdbProviderClientBase->indexItems()
#5 /var/www/html/web/modules/contrib/search_api/src/Entity/Server.php(353): Drupal\ai_search\Plugin\search_api\backend\SearchApiAiSearchBackend->indexItems()
#6 /var/www/html/web/modules/contrib/search_api/src/Entity/Index.php(1019): Drupal\search_api\Entity\Server->indexItems()
#7 /var/www/html/web/modules/contrib/search_api/src/Entity/Index.php(948): Drupal\search_api\Entity\Index->indexSpecificItems()
#8 /var/www/html/web/modules/contrib/search_api/src/IndexBatchHelper.php(160): Drupal\search_api\Entity\Index->indexItems()
#9 /var/www/html/web/core/includes/batch.inc(297): Drupal\search_api\IndexBatchHelper::process()
#10 /var/www/html/web/core/includes/batch.inc(139): _batch_process()
#11 /var/www/html/web/core/includes/batch.inc(95): _batch_do()
#12 /var/www/html/web/core/modules/system/src/Controller/BatchController.php(52): _batch_page()
#13 [internal function]: Drupal\system\Controller\BatchController->batchPage()
#14 /var/www/html/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array()
#15 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(593): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#16 /var/www/html/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(121): Drupal\Core\Render\Renderer->executeInRenderContext()
#17 /var/www/html/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext()
#18 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(183): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#19 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#20 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/Session.php(53): Symfony\Component\HttpKernel\HttpKernel->handle()
#21 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
#22 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
#23 /var/www/html/web/core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle()
#24 /var/www/html/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(116): Drupal\big_pipe\StackMiddleware\ContentLength->handle()
#25 /var/www/html/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(90): Drupal\page_cache\StackMiddleware\PageCache->pass()
#26 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle()
#27 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
#28 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
#29 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle()
#30 /var/www/html/web/core/lib/Drupal/Core/DrupalKernel.php(709): Drupal\Core\StackMiddleware\StackedHttpKernel->handle()
#31 /var/www/html/web/index.php(19): Drupal\Core\DrupalKernel->handle()
#32 {main}

Steps to reproduce

Drupal CMS (Drupal Core 11)
AI (1.0.0)

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇩🇪Germany itothegore

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

Comments & Activities

Production build 0.71.5 2024