Closed (fixed)
Project:
User Creator
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Nov 2010 at 11:24 UTC
Updated:
17 Nov 2010 at 16:19 UTC
Hi, everything were ok on my website but know when I try to create a new user I get this error :
Fatal error: Unsupported operand types in /var/domains/xxx/domains/xxx/www/includes/form.inc on line 1237
The lines code in this file are
function form_type_select_value($form, $edit = FALSE) {
if ($edit !== FALSE) {
if (isset($form['#multiple']) && $form['#multiple']) {
return (is_array($edit)) ? drupal_map_assoc($edit) : array(); // line 1237
}
else {
return $edit;
}
}
}
I don't know what is this error and how to fix it.
Any ideas ?
Comments
Comment #1
jnov commentedOups, good lines are :
Comment #2
jnov commentedOK fixed
replace
function form_type_password_confirm_value($form, $edit = FALSE) {by
function form_type_password_confirm_default_value($form, $edit = FALSE) {