I just added the webforms module to my Drupal 6.15 I created my form tested it and all appeared to be good until I logged out and then went to the form. At the top of the page there is a warning box with the following text:

warning: array_keys() [function.array-keys]: The first argument should be an array in /home1/olacinco/public_html/drupal/sites/all/modules/webform/includes/webform.submissions.inc on line 352.
warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home1/olacinco/public_html/drupal/sites/all/modules/webform/includes/webform.submissions.inc on line 352.

I searched the general Drupal forum and the issues pages but didn't not find any answers. What should I do to fix this problem?

CommentFileSizeAuthor
#2 webform_session_array.patch1.03 KBquicksketch
#1 p1.PNG7.71 KBae860300

Comments

ae860300’s picture

StatusFileSize
new7.71 KB

ME TOO

quicksketch’s picture

Category: support » bug
Status: Active » Fixed
StatusFileSize
new1.03 KB

This patch should fix the problem. Note that the warning doesn't have any negative effects on the functionality, but I should be putting out a second beta here shortly containing a bunch of small fixes.

quicksketch’s picture

Title: Warning: array_keys ... error message » array_keys() error if $_SESSION['webform_submission'] is empty
ae860300’s picture

thanksgiving

Status: Fixed » Closed (fixed)

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