Closed (duplicate)
Project:
Commerce Core
Version:
7.x-1.x-dev
Component:
Checkout
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Jun 2011 at 10:14 UTC
Updated:
28 Jun 2011 at 09:52 UTC
I installed the latest commerce kickstart from June 13th. I am getting this error when trying to finish checkout:
RulesException: Unable to get variable <em class="placeholder">order</em>, it is not defined. in RulesState->get() (line 154 of /var/aegir/platforms/commerce_kickstart/profiles/commerce_kickstart/modules/contrib/rules/includes/rules.state.inc).
I tried with the example payment method and bank transfer. The error can be reproduced here:
http://kickstart.atontrade.es
I'm not sure if i should post this in kickstart issue queue or here?
Comments
Comment #1
softmax commentedThis problem seems to be related to http://drupal.org/node/1190842.
Comment #2
tripper54 commentedI'm having the same problem on on return from external payment method. I followed the link in #1, updated rules and entity API and cleared all cache tables, but I'm still having the same problem.
Comment #3
tripper54 commentedUpdate: the culprit ended up being the stock decrement rule from commerce_stock. Updating commerce_stock to the latest dev version and clearing caches fixed the problem for me.
I discovered this by disabling the rules triggered by "complete checkout" one by one and testing.
Hope this helps.
Comment #4
rszrama commentedThe demo site isn't available any more. It looks like fixes were found for related issues, and I'll add that late last week we fixed a bug that would produce this error if you visited /checkout without anything in your shopping cart. I'm going to mark this as a duplicate of that issue unless you can provide steps to reproduce it some other way.
Comment #5
ranx commentedUpdating the commerce_stock to latest dev fixed the error for me as well.