Skip to content

Getting NOTICE: PHP message: PHP Fatal error: "0" is an invalid render array key during Metadata Display Preview even if Render using Native is not enabled #369

@DiegoPino

Description

@DiegoPino

What?

New here. If outputting
{{ variable_holding_array }} during preview I get a Fatal error. This is not supposed to happen and looks like a regression/bug to me. Update: Nope. Not really. Related to if/not the Drupal Error Handler is enabled or not. So not a regression, but still something we need to deal with bc I do feel in production we could have cases where people decide to use the normal PHP error handler instead of the built in Drupal one to avoid user facing errors (but also c'mon avoid white screens)

Testing with 1.2.0 and Drupal 9.5.10

Metadata

Metadata

Assignees

Labels

Custom EntitiesRelease dutiesTwigTwig template processingUI driven hintsShow stuff on screen so people have less guessing to dobugSomething isn't workingfuture roadmapThings we would love to have but are no priority for version 1.0questionFurther information is requested

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions