Closed (fixed)
Project:
Rules
Version:
6.x-1.x-dev
Component:
Rules Core
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Dec 2010 at 16:51 UTC
Updated:
9 Jun 2012 at 17:11 UTC
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
Comment #1
mitchell commentedI 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.