With TinyMCE module enabled, I get the following (message appears with a one page delay, so it must be happening after Drupal outputs the messages):

notice: Undefined index: #type in /.../modules/search/search.module on line 1097.

Disable TinyMCE and the error goes away (again, on second reload). Obviously, there's an issue with TinyMCE, but core shouldn't be throwing errors either. ;-)

Attached patch fixes it.

CommentFileSizeAuthor
search.module.patch1.22 KBseanr

Comments

webchick’s picture

Status: Needs review » Needs work

Hm. I got the same error, but this patch didn't fix it for me. Confirmed that disabling TinyMCE module did, however.

keith.kennedy’s picture

Same as webchick. :(

dave reid’s picture

Status: Needs work » Closed (duplicate)

I am also getting this error. Reported in TinyMCE #289218: notice: Undefined index: #type.