Warning: Undefined variable $menu_block_active

Created on 13 February 2025, about 2 months ago

Problem/motivation

Getting this warning on content types manage display page that allow layout builder;

Warning: Undefined variable $menu_block_active in Drupal\layout_builder_restrictions\Form\FormAlter->getGroupedDefinitions() (line 132 of modules/contrib/layout_builder_restrictions/src/Traits/PluginHelperTrait.php).

Steps to reproduce

  1. Enabled layout_builder_restrictions
  2. Go to manage display of a content type
  3. Turn on 'Use Layout Builder'
  4. Errors show up
This module uses Gitlab CI for automated testing of proposed code changes. To contribute code changes, create a merge request. Patch files will not trigger automated testing and are not sufficient for review.
πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mengi

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