I get the following error:
Notice: Undefined index: it in terms_of_use_form_user_register_form_alter() (linea 88 di /var/www/prova/sites/all/modules/terms_of_use/terms_of_use.module).
when I click on the link for the registration form.
I get the following error:
Notice: Undefined index: it in terms_of_use_form_user_register_form_alter() (linea 88 di /var/www/prova/sites/all/modules/terms_of_use/terms_of_use.module).
when I click on the link for the registration form.
Comments
Comment #1
robert castelo commented"the link for the registration form"
What URL do you see this error message on?
Comment #2
dimon00 commentedThe url is: http://192.168.70.100/prova/user/register
I debbugged and the problem is in $node->body[$node->language][0]['safe_value']
In my case I have $node->language='it'
while the body seems to be 'und'.
I think a good solution has been proposed by zigazou here:
http://drupal.org/node/1040748
Comment #3
simon georges commentedClosed #1342106: Notice: Undefined index as a duplicate of this one.
Comment #4
dimon00 commentededit: error from my part. :(
Comment #5
robert castelo commented