I'm developing a module which works with profile module. I have one category defined and some fields that I add and control via hook_user into the $account variable.

When I access the user view, I get the following error:

warning: Cannot use a scalar value as an array in /var/www/equilibriweb/sites/all/modules/i18n/i18nstrings/i18nstrings.module on line 727

I've taken a look into that line:

$strings[$langcode][$context->textgroup][$context->type][$context->objectid] = $translation;

$strings[$langcode][$context->textgroup][$context->type] should be an array, but it's just a scalar. $context-type is set to 'category' and $context->objectid is the name of the category that I defined, so I suppose those values are right.

I don't know how this module (i18nstrings) works (and I don't have time to look into it also :() so if anyones knows what's going on here, I would really appreciate it.