Getting Notice: Undefined index: hide_layout_builder_field

Created on 26 July 2020, about 5 years ago
Updated 8 May 2025, 4 months ago

Getting Notices, when this module is being used

Notice: Undefined index: hide_layout_builder_field in Drupal\fvm\Form\FvmSettingsForm::processBlockForm() (line 304 of .../docroot/modules/contrib/fvm/src/Form/FvmSettingsForm.php)
🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇮🇳India vaibhavjain Delhi

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • First commit to issue fork.
  • @maursilveira opened merge request.
  • 🇨🇦Canada maursilveira Windsor, ON

    I'm getting the same error, but also in another file:

    Warning: Undefined array key "hide_layout_builder_field" in fvm_form_alter() (line 35 of modules/contrib/fvm/fvm.module).
    
    Warning: Undefined array key "hide_layout_builder_field" in Drupal\fvm\Form\FvmSettingsForm::processBlockForm() (line 304 of modules/contrib/fvm/src/Form/FvmSettingsForm.php).
    

    I created a PR with the fix. I'm also adding here a patch file for the same fix, in case someone needs it.

  • 🇨🇦Canada maursilveira Windsor, ON
  • 🇮🇳India abhinesh

    Thanks @ maursilveira , working for me.

  • 🇮🇳India abhinesh

    Thank you for your contributions. The changes have been merged successfully, and a new release has been created with the issue resolved.

Production build 0.71.5 2024