Notice: Undefined index: #type in bootstrap_form_alter() (line 93 of /Users/alfrednutile/Drupal/screenshots/sites/all/themes/bootstrap/theme/alter.inc).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

yurtboy’s picture

FileSize
610 bytes

Attached is a patch that worked for me.

Status: Needs review » Needs work

The last submitted patch, 2108415-undefined_index.patch, failed testing.

albertomota’s picture

Status: Needs work » Needs review
FileSize
1 KB

Fixed patch, hopefully..

yurtboy’s picture

thanks albertomota. I just needed to change the first name to match the original filename?

albertomota’s picture

Yeah exactly, the bot couldn't figure out where to apply it because of that I think.

Cheers!

heshanlk’s picture

This was another issue that I'm having with bootstrap the same notice but in a different file, this started to appear when I add media field to the content type.

Status: Needs review » Needs work

The last submitted patch, bootstrap-undefined-index-2108415-6.patch, failed testing.

valkum’s picture

Status: Needs work » Needs review
FileSize
759 bytes

I think this way is better as $skip is false rather than undefined in your way.

markhalliwell’s picture

Status: Needs review » Fixed

Thanks @albertomota!

Committed #3: 19d2846 to 7.x-3.x.

@valkum, #8 was actually already committed per #2105257: Add theme setting to toggle "well" on regions.

valkum’s picture

Version: 7.x-3.x-dev » 7.x-3.0-rc2

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.