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

stg11’s picture

I 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.

emptybrain’s picture

I 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);

rmontero’s picture

This changes were fixed in the dev version but never merged with 1.0 preparing new release 1.1.

Thanks for your continued support.

rmontero’s picture

Status: Active » Fixed
rmontero’s picture

Status: Fixed » Closed (fixed)