Skip to content

Instantly share code, notes, and snippets.

@rfay
Created August 2, 2011 16:47
Show Gist options
  • Save rfay/1120627 to your computer and use it in GitHub Desktop.
Save rfay/1120627 to your computer and use it in GitHub Desktop.
Error message
EntityMetadataWrapperException: Unable to load the commerce_order with the id 4792. in EntityDrupalWrapper->value() (line 697 of /home/rfay/workspace/commerce/sites/all/modules/entity/includes/entity.wrapper.inc). Backtrace:
EntityDrupalWrapper->value() entity.wrapper.inc:647
EntityDrupalWrapper->spotBundleInfo(1) entity.wrapper.inc:633
EntityDrupalWrapper->spotInfo() entity.wrapper.inc:323
EntityStructureWrapper->getPropertyInfo('owner') entity.wrapper.inc:385
EntityStructureWrapper->get('owner') entity.wrapper.inc:406
EntityStructureWrapper->__get('owner') commerce_file.entities.inc:895
commerce_file_license_revoke_line_item(Object) commerce_file.entities.inc:878
commerce_file_license_revoke_order(Object) commerce_file.module:689
commerce_file_commerce_order_delete(Object)
call_user_func_array('commerce_file_commerce_order_delete', Array) rules.module:739
rules_invoke_all('commerce_order_delete', Object) commerce.controller.inc:26
DrupalCommerceEntityController->invoke('delete', Object) commerce.controller.inc:73
DrupalCommerceEntityController->delete(Array) commerce_order.module:658
commerce_order_delete_multiple(Array) commerce_order.module:645
commerce_order_delete('4792') commerce_order.forms.inc:338
commerce_order_order_delete_form_submit(Array, Array) form.inc:1389
form_execute_handlers('submit', Array, Array) form.inc:829
drupal_process_form('commerce_order_ui_order_delete_form', Array, Array) form.inc:349
drupal_build_form('commerce_order_ui_order_delete_form', Array) form.inc:187
drupal_get_form('commerce_order_ui_order_delete_form', Object) commerce_order_ui.orders.inc:67
commerce_order_ui_order_delete_form_wrapper(Object)
call_user_func_array('commerce_order_ui_order_delete_form_wrapper', Array) menu.inc:503
menu_execute_active_handler() index.php:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment