The class UserActivityActionHandler has a typo in the determineEid() method. It should be returning $context['user'] not $context['account'].

When the action type is not "user" during user hook implementations it returns $context['user'] instead of $context['account'].

Comments

smithmilner’s picture

This is a little patch to fix the problem. Both regular and Drush Make versions.

smithmilner’s picture

hello?

sirkitree’s picture

Hi, sorry, the maintainers of this project are really busy with other projects right now and we'll get to these as we can.

karens’s picture

Status: Needs review » Reviewed & tested by the community

I can't say that I totally understand this code, but without this patch you get a fatal error if you try to use a user token on a user action, with it I proceed to the next step (which is another fatal error that I deal with in another issue).

yaworsk’s picture

Manually updated the code using smithmilner patch and solved the issue for me...

damienmckenna’s picture

Bump :)

sirkitree’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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