Warning: Undefined array key "#ief_submit_trigger" in layout_paragraphs_library_form_layout_paragraphs_component_form_alter()

Created on 13 April 2022, about 2 years ago
Updated 27 January 2024, 5 months ago

Steps to reproduce

  1. Enable the Layout Paragraphs Library submodule
  2. Enable the library option for any Paragraph type
  3. Open any node, add a layout, add a Paragraph and promote it to library
  4. Save the node => After saving, the error appears in the message section

Warning: Undefined array key "#ief_submit_trigger" in layout_paragraphs_library_form_layout_paragraphs_component_form_alter() (Zeile 48 in /web/modules/contrib/layout_paragraphs/modules/layout_paragraphs_library/layout_paragraphs_library.module).

πŸ› Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

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.

  • πŸ‡¨πŸ‡¦Canada dallen33

    I am having the same issue and it looks like it's because the ief_submit_trigger doesn't always exist. Just needs to add a isset check.

  • Status changed to Needs review over 1 year ago
  • πŸ‡©πŸ‡ͺGermany Anybody Porta Westfalica

    Thank you @dallen33 - I'm not aware of possible side-effects, so it would be super cool, if a layout_paragraphs maintainer could have a look. If there's no risk in this, the patch should be fine! :)

    Perhaps !empty() might be an alternative.

  • πŸ‡³πŸ‡ΏNew Zealand John Pitcairn

    I can also reproduce this warning when opening the media library from a paragraph edit modal.

Production build 0.69.0 2024