Hi

When registering an account or approving a registered account (mail works fine) the following errors show up

Notice: Trying to get property of non-object in include() (line 58 of /profiles/openatrium/modules/contrib/oa_core/modules/oa_messages/templates/htmlmail.tpl.php).
Notice: Undefined index: realname in include() (line 59 of /profiles/openatrium/modules/contrib/oa_core/modules/oa_messages/templates/htmlmail.tpl.php).
Notice: Undefined index: picture in include() (line 60 of /profiles/openatrium/modules/contrib/oa_core/modules/oa_messages/templates/htmlmail.tpl.php).

Any tip on how to solve this appreciated, thanks!

Comments

gnorf created an issue. See original summary.

mpotter’s picture

Let me check into this one. Sounds like the to_user field is not being set.

mpotter’s picture

Status: Active » Fixed

OK, pushed a fix to this in commit e0ce84d of oa_core. This probably affected other "system" emails from the site that were not originated as notification messages.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.