- 🇨🇦Canada iStryker
Marking all 7.x as out of date. If the problem persists, then only a new issue.
After a clean install without setting any further formats the system throughs the following error message when saving the node:
Notice: Undefined index: format in image_field_caption_widget_process() (line 128 of /sites/all/modules/image_field_caption/image_field_caption.module).
The message results of the missing "format" key. A fix could look like this:
function image_field_caption_widget_process($element, &$form_state, $form) {
$item = $element['#value'];
$has_caption = isset($item['image_field_caption']) && is_array($item['image_field_caption']);
// Add the additional alt and title fields.
$element['image_field_caption'] = array(
'#title' => t('Caption'),
'#type' => 'text_format',
'#default_value' => $has_caption ? $item['image_field_caption']['value'] : '',
'#access' => (bool) $item['fid'],
'#format' => $has_caption && isset($item['image_field_caption']['format']) ? $item['image_field_caption']['format'] : NULL,
);
return $element;
}
Closed: outdated
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Marking all 7.x as out of date. If the problem persists, then only a new issue.