I am trying to edit an existing webform on my drupal site and have been getting two warning messages when I try and edit the components:
warning: array_merge() [function.array-merge]: Argument #2 is not an array in /data/25/2/141/13/2630339/user/2885964/htdocs/modules/form_builder/includes/form_builder.api.inc on line 21.
warning: array_merge() [function.array-merge]: Argument #1 is not an array in /data/25/2/141/13/2630339/user/2885964/htdocs/modules/form_builder/includes/form_builder.api.inc on line 21.

I have tried downloading form_builder again and making sure everything is up-to-date but it doesn't make any difference.
I get the same message when I try and create new forms when editing the components.

I don't know much about PHP and so am at a bit of a loss to try and fix it. Can someone help me to resolve this?

Thanks

Comments

quicksketch’s picture

Could you provide more details about this problem? Does it happen on all forms (say if you create a new one), or does it only happen when editing one particular form?

Did you update Webform recently, or is this a new installation?

And finally, this might happen if you have a module installed that doesn't support Webform, like a module that adds a custom Webform component (e.g. like a phone number or address component).

Stevens’s picture

It happens with all forms, new or existing, just when trying to customize the components (like changing whether the field is required or the field name). I had updated Webform about a month ago, but didn't test at the time whether that is when the problem started occurring. Today I re-downloaded it, overriding the existing downloaded module. Same problems still occurred. The error message is directing me to the form_builder module, not the Webform one, so I don't know if that's where the problem is or if is related to something with Webform. The only other form related module I have installed is the Form Maker, but it is not enabled.

Not sure if that's the information you were looking for or not. As far as I know nothing in our PHP or other settings should be overriding the webforms, and they are still functioning (i.e. we're still successfully getting submissions).

Stevens’s picture

Hi, quicksketch,

Do you need any more information or have any further thoughts or suggestions for me?

Thanks.

quicksketch’s picture

Hi @Stevens, my guesses were that this would be caused by an add-on Webform component. With no add-ons on your site, I'm not sure what else to recommend. I don't spend a lot of time working in Drupal 6 these days, so unless it happens out-of-the-box in Drupal 6, I doubt I'll be able to reproduce the problem.

quicksketch’s picture

Project: Webform » Form Builder
Version: 6.x-3.19 » 6.x-1.3
Component: Code » Webform Itegration

Oh I didn't even see this was a Form Builder question. :P

I'll move this issue over there. The Form Builder support for Webform 6.x-3.x isn't being updated very regularly at this point. I'm not sure I'd recommend trying to use Form Builder on Drupal 6.

torotil’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)
Issue tags: +form_builder-6.x-wontfix

It seems that I'm the only active maintainer of form_builder at the moment and I'm not supporting 6.x-1.x since I don't use Drupal 6. Is this also reproducible in 7.x-1.x?