I added the custom text fields First Name and Last Name to the User account - /admin/config/people/manage.
Next I created a Rule that sends an email. In the email I use replacement patterns for First and Last name. When the email is sent instead of displaying the First and Last name it just says "Array Array". Recent log messages include this notice - Notice: Array to string conversion in RulesTokenEvaluator->evaluate() (line 224 of .../modules/rules/modules/system.eval.inc). Am I doing something wrong or is this a bug?
Recent comments
@yorkshirepudding, In the end I fixed it by deleting the config/active folder contents, copying the config/staging/ files into config/active, importing the database again and clearing the caches...
Importing the staged config throws an error: another field with the same name already exists
Thanks, I have to go out now, I will try later on and report back
Importing the staged config throws an error: another field with the same name already exists
Hi Francis. Yes, what config do you have in staging for it? You might have configs like: field.field.field_video_embed field.instance.node.page....
Importing the staged config throws an error: another field with the same name already exists
Hi @yorkshirepudding! Nothing in admin/reports/fields or admin/config/development/configuration/single/export There is a field in the database though. Should I just copy the item...
Importing the staged config throws an error: another field with the same name already exists
That is not a core field so my guess is it must exist, though perhaps it is a field defined but without any instances. A few places to check: admin/reports/fields - is it...
Importing the staged config throws an error: another field with the same name already exists