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

robert castelo’s picture

"the link for the registration form"

What URL do you see this error message on?

dimon00’s picture

The 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

simon georges’s picture

Closed #1342106: Notice: Undefined index as a duplicate of this one.

dimon00’s picture

edit: error from my part. :(

robert castelo’s picture

Issue summary: View changes
Status: Active » Closed (cannot reproduce)