Hi everyone

I got this warning when I clicked checkout on the shopping cart block

Warning: call_user_func(rules_events_entity_unchanged) [function.call-user-func]: First argument is expected to be a valid callback in RulesState->get() (line 148 of /home/www/vinnchan.net/sites/all/modules/contri/rules/includes/rules.state.inc).

Thanks for reply

Comments

Anonymous’s picture

I got the same warning. What kind of rule did you create that generated that warning? I got it right after creating a rule to add a product (a packaging fee) to each order.

Anonymous’s picture

malaysian.selangor’s picture

I got this warning when I clicked the checkout and I didn't changed preset checkout rules. You try to checkout again.

This warning occurred when I clicked checkout. Any solutions?

Anonymous’s picture

If you didn't add or change any of the pre-set rules, it is probably a bug that you should report. Are you using Drupal Commerce? When I got the same warning, I went back to the rules that I created and realized that they were conflicting with one another, so I deleted one of them and I'm currently figuring out what to do in regards to what I was trying to accomplish. Either way, by deleting the conflicting rule, I no longer got that message.

bander2’s picture

I had this problem too and http://drupal.org/node/1356906#comment-5707294 fixed it for me.

ih2502mk’s picture

Updating Rules module to version 7.x-2.1 removed this issue for me.

fago’s picture

Version: 7.x-2.0 » 7.x-2.1
Status: Active » Fixed

Status: Fixed » Closed (fixed)

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

mitchell’s picture

Component: Provided Rules integration » Rules Core

Updated component.