Closed (duplicate)
Project:
Webform
Version:
7.x-3.18
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 May 2012 at 09:54 UTC
Updated:
14 May 2012 at 17:37 UTC
Adding a file field to a webform doesn't work for anonymous users. On form submission, the following error occurs:
PHP Fatal error: Cannot unset string offsets in /var/www/sites/powerofacting.org/includes/form.inc on line 2157
The error occurs in form.inc in form_state_values_clean(), and it looks as if the form value for the file field is not in the expected format.
Registered users don't get this error.
Comments
Comment #1
quicksketchLooks like this is probably related to #1515158: Webform with file upload fatal error/WSOD when used with mollom: Cannot unset string offsets in ... form.inc on line 2146 (meaning it only happens for anonymous users because mollom is active).