Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have got this message after enabling "Clientside Validation" module.
Here enclosed a screen capture of the complete message.
Comment | File | Size | Author |
---|---|---|---|
#9 | link-fix-undefined-index-widget-1918850-9.patch | 971 bytes | jsacksick |
#8 | link-fix-undefined-index-widget-1918850-8.patch | 790 bytes | jsacksick |
error_00.png | 67.74 KB | Gyver06 |
Comments
Comment #1
ng.ahchi CreditAttribution: ng.ahchi commentedSame error here when I create a new product variation type.
Comment #2
Yazzbe CreditAttribution: Yazzbe commentedSame error here when creating a new content type
Comment #3
ahaomar CreditAttribution: ahaomar commentedI am getting same issue. is any patch up to now ? please guide me
Comment #4
realskorpion CreditAttribution: realskorpion commentedSame issue here, we need a fix/patch
thanks
Comment #5
jawad.shah CreditAttribution: jawad.shah commentedI'm also facing this issue, while adding fields in content type :-(
zeropoint.IT
Comment #6
realskorpion CreditAttribution: realskorpion commentedProbably this bug is related to this one: http://drupal.org/node/949604
There's a patch here: http://drupal.org/node/1914286#comment-7055150.
I haven't tested it yet.
Please confirm if that solves the issue.
Thanks
Comment #7
oana.hulpoi CreditAttribution: oana.hulpoi commentedIndeed, the error appears on a new content type creation, but the patch http://drupal.org/node/1914286#comment-7055150 doesn't fix the current error. The problem was in hook_field_update_instance function, when adding new fields on content type.
I think that the current error is raised because of the comment_body (from comment entity type) which doesn't have a widget type.
And we are trying to access an uninitialized variable here ($object['widget']):
Comment #8
jsacksick CreditAttribution: jsacksick commentedThe attached patch fixes the issue.
Comment #9
jsacksick CreditAttribution: jsacksick commentedThis patch adds the title_value check at the same level.
Comment #10
Gyver06 CreditAttribution: Gyver06 commentedThank you for this #9 patch, it seems to work. I'll confirm that later after some more testing.
Comment #11
malberts CreditAttribution: malberts commentedI got the following error messages:
The patch in #9 fixes/removes those messages.
Comment #12
mettam CreditAttribution: mettam commentedThe patch in #9 seems to work for me. I've not had that error pop up again.
Comment #13
hswong3i CreditAttribution: hswong3i commented#9 also works for me, which I had already apply it to DruStack as reference from Commerce Kickstart.
Comment #14
jcfiala CreditAttribution: jcfiala commentedMerged into 7.x-1.x.
Please give 7.x-1.x-dev a try in a day or so.
Comment #15
mgiffordAny ETA on the next release?
Comment #16
eiriksmword ^^
Comment #17
jasom CreditAttribution: jasom commented#9 made error to disappear.
Comment #18
nicodv CreditAttribution: nicodv commented#9 fixed it for me too. Thanks much.
:)