Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
My best assumption right now is that when multiple Views contexts are put together, and one doesn't contain any Empty Text fields, this is triggered.
Changing line 32 of views_content/plugins/content_types/views_empty.inc from:
$block->content = $output['empty'];
to $block->content = !empty($output['empty']) ? $output['empty'] : '';
fixes it; but I'm not aware of where-else the returned $block's data is used. Should this be array()
, NULL
, or ''
?
Comments
Comment #1
merlinofchaos CreditAttribution: merlinofchaos commentedA '' is fine. I patched both 6.x and 7.x branches.