When viewing the information at "My account" page (non-english version), below error occurs:
"warning: Invalid argument supplied for foreach() in /var/www/html/modules/user/user.module on line 662."

I guess it is because my profile fields are set to be hidden. It was solved after I added below "if" condition to i18nprofile_profile_alter().

if (isset($fields[$category])) {
$fields[$translation] = $fields[$category];
unset($fields[$category]);
}

Comments

jose reyero’s picture

Component: Module i18nprofile » Taxonomy
Status: Needs review » Closed (won't fix)

See #626858: Internationalization 5.x Maintenance Policy. Approaching end of support..

Also experimental modules won't be supported anymore so consider upgrading to 6.x.