Undefined array key "caption_field_required"

Created on 11 August 2022, over 2 years ago
Updated 16 January 2024, 10 months ago

I am using Drupal 9.4.5, and had an existing custom content type with an image field. I installed image field caption, and when I edit the image field definition for the content type, I see this warning at the top of the page:

Warning: Undefined array key "caption_field_required" in Drupal\image_field_caption\ImageCaptionItem->fieldSettingsForm() (line 51 of modules/contrib/image_field_caption/src/ImageCaptionItem.php).

BTW, I tried clicking on the "documentation" link on the project page, and got a 404. But I did see the readme in the module, and can change the field format to "Image with caption" on the "Manage display" tab for the content type. But I am not seeing a caption field when I edit a node (likely due to the error on the field settings page).

🐛 Bug report
Status

Closed: duplicate

Version

1.2

Component

Code

Created by

🇺🇸United States pglatz

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.

Production build 0.71.5 2024