Error when rendering breadcrumbs during search indexing

Created on 14 October 2021, about 3 years ago
Updated 14 February 2024, 9 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. Create a content type with layout builder enabled
  2. Add easy breadcrumbs to the layout builder
  3. Add the layout builder view mode as rendered item to a search_api index
  4. 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

Closed: won't fix

Version

2.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