Don't know where to file this issue. I have a rule which gives an appbar allert to a node author when a comment is made. If it is an anonymous user the URL to the user is user/0 which results in the following error: Fatal error: Unsupported operand types in /www/htdocs/w00b40cd/com/at/includes/common.inc on line 1592

The tokens used are

user/[comment_author:uid]
[comment_author:user]
[node:nid]
[node:title]

Comments

mitchell’s picture

Component: Miscellaneous » Rules Core
Status: Active » Fixed

I don't think it's possible to get a user id for an anonymous user. There are other interesting solutions described in the issue queue for workflows that create an account automatically for anonymous users. There's also some other helper modules that offer similar workflows.

Status: Fixed » Closed (fixed)

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