i have created a fieldset and added child items to it. I am not making any of the field conditional on another. When I go to save a new field (whether I add it to the fieldset or not) I get the notice above.

Comments

laroccadahouse’s picture

when i remove the fieldsets from the form the error goes away.

tedbow’s picture

Status: Active » Postponed (maintainer needs more info)

@laroccadahouse can you make sure you are using the latest version of 7.x-1.x-dev. There is no array index used on line 529 in the latest version. Please update and let me know the line number of the error(if any).

Thanks

laroccadahouse’s picture

I downloaded the latest dev version on july 25th. I no longer get the error.

tedbow’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

cool. closing

brightbold’s picture

Status: Closed (fixed) » Active

I'm using the latest dev and am getting this error for line 534. I also am using fieldsets in my webform (and I notice that section of the code deals with fieldsets.)

Also FYI there's a typo on line 529 where it says "childern" instead of "children," but I don't think that's causing any problems because you're defining a variable that doesn't seem to be called again. But I figured you'd want to fix it anyway.

stella’s picture

Status: Active » Needs review
StatusFileSize
new1.35 KB

Here's a patch for the error reported in comment #5

brightbold’s picture

Thanks stella, that patch solves the problem for me, thanks!

allio_froggio’s picture

Do you think you could tell me where exactly I am supposed to insert this patch? (I apologize for my ignorance and very much appreciate the help!)

allio_froggio’s picture

Ohhhh...it says exactly that in the patch. Duh. Thanks!

tedbow’s picture

StatusFileSize
new1.65 KB

Stella, thank for this patch. I changed it slightly to remove unused $children var.
Thanks for any help testing.

tedbow’s picture

StatusFileSize
new1.79 KB

Here is the Drupal 6 version of the same patch

tedbow’s picture

Just committed these patches to dev 6 & 7 branches. Thanks again stella.

tedbow’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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