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)
CommentFileSizeAuthor
#4 3161529-undefined-index-4.patch1.19 KBmaursilveira

Issue fork fvm-3161529

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

  • 2.x Comparechanges, plain diff MR !6

Comments

vaibhavjain created an issue. See original summary.

maursilveira made their first commit to this issue’s fork.

maursilveira’s picture

StatusFileSize
new1.19 KB

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.

maursilveira’s picture

Version: 2.0.1 » 2.0.3
Assigned: ridhimaabrol24 » Unassigned
Status: Active » Needs review
abhinesh’s picture

Assigned: Unassigned » abhinesh
Status: Needs review » Reviewed & tested by the community

Thanks @maursilveira, working for me.

abhinesh’s picture

Status: Reviewed & tested by the community » Fixed

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

abhinesh’s picture

Status: Fixed » Closed (fixed)