*sigh* The differing rendering of block.html.twig between Context module and core Drupal is annoying.

With menu_block 8.x-1.3, I'm seeing this PHP notice:

Notice: Undefined index: #id in menu_block_theme_suggestions_block_alter()

because $variables['elements']['#id'] doesn't exist when Context module is rendering a block.

Comments

JohnAlbin created an issue. See original summary.

  • JohnAlbin committed c6195b4 on 8.x-1.x
    Issue #2795095 by JohnAlbin: PHP Notice: Undefined index: #id when used...
johnalbin’s picture

Assigned: johnalbin » Unassigned
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.