TransWikia.com

Media html not rendering in blocks

Drupal Answers Asked by Kristoffer Rom on February 3, 2021

I’m experiencing an issue on multiple sites where (image) media aren’t appearing in blocks despite working fine in node fields.

I first thought it only happened to me when using the linkicon module, but since then i created a custom block type for image blocks (using entity reference media fields) and the same thing happens, ie. the html renders nothing:

<div class="content"></div>

There’s no problem rendering the fields in nodes on the same sites using the exact same display settings.

I’ve checked both the media, block and block_content logs and they show no errors.

My setup:

  • Drupal 8.9.7
  • Barrio 5.1.3
  • Local environment running on ddev
  • Remote environment running on cloudways

Any ideas what the issue might be?

One Answer

This turned out to be a conflict with the songkick module. I'm a maintainer so I'll make sure the issue is handled and post further updates in the issue cue on Drupal.org here.

Answered by Kristoffer Rom on February 3, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP