Search API errors

Created on 17 March 2024, 8 months ago

Problem/Motivation

it is on D10.2.4

When running the bulk title change there are errors logged. One error per node titel change.

RuntimeException while trying to render item entity:node/5157:en with view mode default for search index TestSolr_Index: Failed to start the session because headers have already been sent by "/vendor/symfony/http-foundation/Response.php" at line 1315. in Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start() (line 132 of /vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php).

#0 /web/core/lib/Drupal/Core/Session/SessionManager.php(144): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start()
#1 /web/core/lib/Drupal/Core/Session/SessionManager.php(109): Drupal\Core\Session\SessionManager->startNow()
#2 /vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php(311): Drupal\Core\Session\SessionManager->start()
#3 /vendor/symfony/http-foundation/Session/Session.php(222): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->getBag()
#4 /vendor/symfony/http-foundation/Session/Session.php(242): Symfony\Component\HttpFoundation\Session\Session->getBag()
#5 /vendor/symfony/http-foundation/Session/Session.php(69): Symfony\Component\HttpFoundation\Session\Session->getAttributeBag()
#6 /web/modules/contrib/flag/src/FlagService.php(115): Symfony\Component\HttpFoundation\Session\Session->get()
#7 /web/modules/contrib/flag/flag.views_execution.inc(18): Drupal\flag\FlagService->getAnonymousSessionId()
#8 [internal function]: flag_views_query_substitutions()
#9 /web/core/lib/Drupal/Core/Extension/ModuleHandler.php(409): call_user_func_array()
#10 /web/core/lib/Drupal/Core/Extension/ModuleHandler.php(388): Drupal\Core\Extension\ModuleHandler->Drupal\Core\Extension\{closure}()
#11 /web/core/lib/Drupal/Core/Extension/ModuleHandler.php(416): Drupal\Core\Extension\ModuleHandler->invokeAllWith()
#12 /web/core/modules/views/src/Plugin/views/query/Sql.php(1433): Drupal\Core\Extension\ModuleHandler->invokeAll()
#13 /web/core/modules/views/src/Plugin/views/query/Sql.php(1469): Drupal\views\Plugin\views\query\Sql->query()
#14 /web/core/modules/views/src/ViewExecutable.php(1336): Drupal\views\Plugin\views\query\Sql->build()
#15 /web/core/modules/views/src/ViewExecutable.php(1406): Drupal\views\ViewExecutable->build()
#16 /web/modules/contrib/viewfield/src/Plugin/Field/FieldFormatter/ViewfieldFormatterDefault.php(167): Drupal\views\ViewExecutable->execute()
#17 /web/core/lib/Drupal/Core/Field/FormatterBase.php(91): Drupal\viewfield\Plugin\Field\FieldFormatter\ViewfieldFormatterDefault->viewElements()
#18 /web/modules/contrib/viewfield/src/Plugin/Field/FieldFormatter/ViewfieldFormatterDefault.php(96): Drupal\Core\Field\FormatterBase->view()
#19 /web/core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php(268): Drupal\viewfield\Plugin\Field\FieldFormatter\ViewfieldFormatterDefault->view()
#20 /web/core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php(269): Drupal\Core\Entity\Entity\EntityViewDisplay->buildMultiple()
#21 /web/core/lib/Drupal/Core/Entity/EntityViewBuilder.php(339): Drupal\layout_builder\Entity\LayoutBuilderEntityViewDisplay->buildMultiple()
#22 /web/core/modules/node/src/NodeViewBuilder.php(24): Drupal\Core\Entity\EntityViewBuilder->buildComponents()
#23 /web/core/lib/Drupal/Core/Entity/EntityViewBuilder.php(281): Drupal\node\NodeViewBuilder->buildComponents()
#24 /web/core/lib/Drupal/Core/Entity/EntityViewBuilder.php(238): Drupal\Core\Entity\EntityViewBuilder->buildMultiple()
#25 [internal function]: Drupal\Core\Entity\EntityViewBuilder->build()
#26 /web/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php(111): call_user_func_array()
#27 /web/core/lib/Drupal/Core/Render/Renderer.php(859): Drupal\Core\Render\Renderer->doTrustedCallback()
#28 /web/core/lib/Drupal/Core/Render/Renderer.php(421): Drupal\Core\Render\Renderer->doCallback()
#29 /web/core/lib/Drupal/Core/Render/Renderer.php(240): Drupal\Core\Render\Renderer->doRender()
#30 /web/core/lib/Drupal/Core/Render/Renderer.php(165): Drupal\Core\Render\Renderer->render()
#31 /web/core/lib/Drupal/Core/Render/Renderer.php(627): Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}()
#32 /web/core/lib/Drupal/Core/Render/Renderer.php(166): Drupal\Core\Render\Renderer->executeInRenderContext()
#33 /web/modules/contrib/search_api/src/Plugin/search_api/processor/RenderedItem.php(219): Drupal\Core\Render\Renderer->renderPlain()
#34 /web/modules/contrib/search_api/src/Item/Item.php(281): Drupal\search_api\Plugin\search_api\processor\RenderedItem->addFieldValues()
#35 /web/modules/contrib/search_api/src/Entity/Index.php(976): Drupal\search_api\Item\Item->getFields()
#36 /web/modules/contrib/search_api/src/Utility/PostRequestIndexing.php(92): Drupal\search_api\Entity\Index->indexSpecificItems()
#37 /web/core/lib/Drupal/Core/EventSubscriber/KernelDestructionSubscriber.php(51): Drupal\search_api\Utility\PostRequestIndexing->destruct()
#38 [internal function]: Drupal\Core\EventSubscriber\KernelDestructionSubscriber->onKernelTerminate()
#39 /web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(111): call_user_func()
#40 /vendor/symfony/http-kernel/HttpKernel.php(115): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch()
#41 /web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(63): Symfony\Component\HttpKernel\HttpKernel->terminate()
#42 /web/core/lib/Drupal/Core/DrupalKernel.php(688): Drupal\Core\StackMiddleware\StackedHttpKernel->terminate()
#43 /web/index.php(22): Drupal\Core\DrupalKernel->terminate()
#44 {main}

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇦🇹Austria maxilein

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

Comments & Activities

Production build 0.71.5 2024