Closed (works as designed)
Project:
Rules
Version:
7.x-2.9
Component:
Rules Core
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Mar 2016 at 22:37 UTC
Updated:
22 Nov 2018 at 23:01 UTC
Jump to comment: Most recent
Comments
Comment #2
jahubego commentedComment #3
kaarele commentedI'm having the same issue, when using hook_rules_action_info_alter and writing something like $actions['commerce_cart_add_to_cart_message']['callbacks']['execute'] = 'my_custom_function';EDIT: Nevermind, my mistake was that the function was in my_module.rules.inc file, which was apparently not loaded when this function is running in the rules module. I put it in my_module.module and it started working without the error.
Comment #4
tr commented