Getting this error while reverting node revision in a cohesion content type where blocks can be embedded in content:

TypeError: Argument 2 passed to Drupal\Core\Cache\Cache::mergeTags() must be of the type array, null given, called in docroot/core/modules/block/src/BlockViewBuilder.php on line 50 in Drupal\Core\Cache\Cache::mergeTags() (line 57 of docroot/core/lib/Drupal/Core/Cache/Cache.php)

CommentFileSizeAuthor
#2 3133688-2-TypeError.patch790 bytessushyl

Comments

sushyl created an issue. See original summary.

sushyl’s picture

Status: Active » Needs review
StatusFileSize
new790 bytes
kristen pol’s picture

Version: 8.9.x-dev » 9.1.x-dev
Issue tags: +Bug Smash Initiative

Patch applies cleanly to 9.1.x.

thalles’s picture

Please, what are the steps to reproduce this bug?

kristen pol’s picture

sushyl’s picture

Status: Needs review » Closed (works as designed)

My bad, this was result of one of the custom modules which was returning null value.