layout_paragraphs: undefined method InsertComponentForm::getEntity() in _image_field_caption_widget_process()

Created on 19 October 2022, over 1 year ago
Updated 23 May 2023, about 1 year ago

get this error after add a item with layout_paragraphs (2.01). The paragraphs type contains a image field with caption and can add multiple images

Call to undefined method Drupal\layout_paragraphs\Form\InsertComponentForm::getEntity() in _image_field_caption_widget_process() (Zeile 49 in /var/www/vhosts/h3/httpdocs/modules/contrib/image_field_caption/image_field_caption.module) 
πŸ› Bug report
Status

Active

Version

1.2

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany HeavyStoneHead

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.

  • πŸ‡¬πŸ‡§United Kingdom nicholasThompson

    Also getting this with Media module...

    Error: Call to undefined method Drupal\media_library\Form\FileUploadForm::getEntity() in _image_field_caption_widget_process() (line 49 of /code/web/modules/contrib/image_field_caption/image_field_caption.module)
    #0 [internal function]: _image_field_caption_widget_process(Array, Object(Drupal\Core\Form\FormState), Array)
    
  • πŸ‡ΊπŸ‡ΈUnited States jimmynash

    I feel like this issue is related to 3185060.

    The patch in #6 there helped me deal with a problem using VBO against a content type using image_field_caption.

Production build 0.69.0 2024