Closed (fixed)
Project:
Webform Registration
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Oct 2011 at 20:38 UTC
Updated:
15 Jan 2012 at 09:53 UTC
After I enable the module, I got this error on every webform page. Does anyone have any idea ?
Fatal error: Cannot use object of type mysqli_result as array in /sites/all/modules/webform_registration/webform_registration.module on line 251
Comments
Comment #1
stg11 commentedI get a similar message when activating the module:
warning: Cannot use a scalar value as an array in /home/sitestha/public_html/et3net/sites/all/modules/webform_registration/webform_registration.module on line 251.
Comment #2
emptybrain commentedI think it's a bug!
You can change code line 248 in webform_registration.module from:
$form_settings = $result;
to:
$form_settings = db_fetch_object($results);
Comment #3
rmontero commentedThis changes were fixed in the dev version but never merged with 1.0 preparing new release 1.1.
Thanks for your continued support.
Comment #4
rmontero commentedComment #5
rmontero commented