Closed (outdated)
Project:
Rules
Version:
7.x-2.0-alpha5
Component:
Rules Core
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Feb 2011 at 05:21 UTC
Updated:
18 Jun 2018 at 03:25 UTC
Jump to comment: Most recent
Comments
Comment #1
dasjowhat says the rules debug log?
http://groups.drupal.org/rules/faq#unexpected-behavior
Comment #2
ptnguyen commentedthis is what the debug says
Rules evaluation log
0 ms Reacting on event After saving a new comment.
10.129 ms Evaluating rule new comment.
10.958 ms The condition node_is_of_type evaluated to TRUE
10.97 ms AND evaluated to TRUE.
12.803 ms Evaluating the action entity_fetch.
14.117 ms Unable to load node with id "42"
14.133 ms Unable to execute action entity_fetch.
14.321 ms Unable to get variable entity_fetched, it is not defined.
14.329 ms Unable to execute action mail.
14.369 ms Evaluating rule newcomment.
14.379 ms AND evaluated to TRUE.
14.791 ms Evaluating the action entity_query.
16.463 ms Added the provided variable email of type list
25.279 ms Missing data values.
25.292 ms Unable to execute action mail.
25.351 ms Finished reacting on event After saving a new comment.
Comment #3
ptnguyen commentedi also come up with this error
Warning: array_values() [function.array-values]: The argument should be an array in rules_action_entity_query() (line 98 of /sites/all/modules/rules/modules/data.eval.inc).
Comment #4
dasjoyou see that it fails due to
14.117 ms Unable to load node with id "42"
try to fix your rule, or post an export of the rule in order to get further help
Comment #5
tr commented