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
Comment #1
danielb commentedDid this happen after upgrading either select_or_other or webform?
Comment #2
perisdr commentedNo everything were fresh installs. The message still hasn't pop-uped again even though I am messing around alot with my webforms.
Comment #3
danielb commentedI can see why the notices would show, but I don't understand why they disappeared by flushing your cache.
Comment #4
danielb commentedSince 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.
Comment #6
torotil commentedI 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 …
Comment #7
torotil commentedComment #8
legolasboThe notices were caused by webform. The current version of webform does not have these notices anymore.