Base D7.8. Install insert, caption_filter, wysiwyg w/tinymce. Add an image field to Basic page. Create a Basic Page, result is:
Notice: Undefined index: caption_from_title in caption_filter_element_process() (line 245 of caption_filter.module)

If I disable insert.module, the notice goes away.

Comments

13rac1’s picture

Status: Active » Closed (works as designed)

Haha! Module load weight! I ran the update hooks and issue was corrected.

chrowe’s picture

Version: 7.x-1.x-dev » 7.x-1.2
Status: Closed (works as designed) » Active

This seems to only come up for me when I have http://drupal.org/project/imagefield_crop enabled.
I am running imagefield_crop-7.x-1.0

kmonty’s picture

Status: Active » Closed (cannot reproduce)

@chrowe - I just enabled imagefield_crop 7.x-1.x and couldn't reproduce the error. Can you provide clear steps as to how to get the error?

stevieegee’s picture

@kmonty I too have just encountered the same error - Notice: Undefined index: caption_from_title in caption_filter_element_process() (line 245, after installing imagefield_crop.module today. I have two image fields on an article content type, one that uses the caption filter in conjunction with the insert module and another that uses the imagefield crop module. The error arises when I create an article.

Drupal 7.22
Caption Filter 7.x-1.2
Image crop 7.x-1.1

Thank you for looking into this.

stevieegee’s picture

Status: Closed (cannot reproduce) » Active
stevieegee’s picture

@kmonty I also uninstalled caption filter and reinstalled it but I still received the error.

populist’s picture

Title: Notice: Undefined index: caption_from_title in caption_filter_element_process() (line 245 of caption_filter.module) » Notice: Undefined index: caption_from_title
Status: Active » Postponed (maintainer needs more info)

I looked through this issue and am not able to replicate it with the -dev of caption_filter and the newest version of insert module.

populist’s picture

To the extent which this is still a problem, likely solved by the patch/solution that comes out of #1985458: Problem with caption_from_title?