Renderer::addCacheableDependency(): Argument #1 ($elements) must be of type array, null given

Created on 13 October 2023, 9 months ago
Updated 19 October 2023, 8 months ago

Problem/Motivation

TypeError: Drupal\Core\Render\Renderer::addCacheableDependency(): Argument #1 ($elements) must be of type array, null given, called in /var/www/html/core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php on line 267 in Drupal\Core\Render\Renderer->addCacheableDependency() (line 690 of core/lib/Drupal/Core/Render/Renderer.php).

Steps to reproduce

Install Crossword 2.0.x-dev on D10 setup.
Add the crossword field to a content type.
Keep the field settings default.
Add new content without adding anything in the crossword field.

🐛 Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

🇮🇳India ayush.pandey

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

Comments & Activities

Production build 0.69.0 2024