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

Created on 19 October 2022, almost 3 years ago
Updated 17 May 2023, over 2 years 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.

  • Status changed to Postponed: needs info 21 days ago
  • Thanks for the report. This issue refers to an outdated version of the module (8.x-1.2), which is no longer supported. The 4.0.x release includes significant changes, and this problem may already be resolved.

    Please check if the issue still occurs with the latest version (4.0.0-beta1). If it does, feel free to update this issue or open a new one with details.

Production build 0.71.5 2024