Error during indexing of a view mode with breadcrumbs

Created on 14 October 2021, about 3 years ago
Updated 13 February 2024, 10 months ago

Problem/Motivation

When rendering a view mode containing breadcrumbs during indexing with search api, following error occurs:
Failed to start the session because headers have already been sent
This should be solved for being able to index full layout builder pages containing breadcrumbs.

Steps to reproduce

  1. Enable Index items immediately in search index
  2. Create a content type with layout builder enabled
  3. Add easy breadcrumbs to the layout builder
  4. Add the layout builder view mode as rendered item to a search_api index
  5. Try to index any node of this content type by saving / rebuilding the index

Proposed resolution

We've implemented a temporary fix that removes the breadcrumbs during indexing with a preprocess hook. No proper solution has been found yet.

πŸ› Bug report
Status

Needs work

Version

10.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium L_VanDamme

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024