I have Select (or other) 7.x-2.8+2-dev with

  • Webform 7.x-3.15
  • Webform Conditional 7.x-1.0-alpha2+3-dev
  • Webform Validation 7.x-1.1

Everything is working great except today I got these warnings on my webforms containing a Select or other component

Notice: Undefined index: #disabled in select_or_other_element_process() (line 99 of C:\xampp\htdocs\sitename\sites\all\modules\select_or_other\select_or_other.module).
Notice: Undefined index: #size in select_or_other_element_process() (line 102 of C:\xampp\htdocs\sitename\sites\all\modules\select_or_other\select_or_other.module).
Notice: Undefined index: #disabled in select_or_other_element_process() (line 185 of C:\xampp\htdocs\sitename\sites\all\modules\select_or_other\select_or_other.module).

I flushed the caches and problem solved. I am more interested in why this happened and if it will keep showing up in the future. Any ideas?

Comments

danielb’s picture

Did this happen after upgrading either select_or_other or webform?

perisdr’s picture

No everything were fresh installs. The message still hasn't pop-uped again even though I am messing around alot with my webforms.

danielb’s picture

I can see why the notices would show, but I don't understand why they disappeared by flushing your cache.

danielb’s picture

Status: Active » Fixed

Since explicitly hiding these notices requires extra code to process each time, I haven't heard any other complaints about this, and the information given doesn't give reproducible circumstances, I'm not going to do anything about this.
If you see the notices come back, please start a bug report explaining how to produce this.

Status: Fixed » Closed (fixed)

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

torotil’s picture

Issue summary: View changes

I see this error with webform-7.x-3.20 and select_or_other-7.x-2.20. It seems that the defaults from element_info() are somehow not loaded …

torotil’s picture

Status: Closed (fixed) » Active
legolasbo’s picture

Status: Active » Closed (works as designed)

The notices were caused by webform. The current version of webform does not have these notices anymore.