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

Created on 13 October 2023, about 1 year ago
Updated 10 September 2024, 3 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

Fixed

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024