Discussions

Unable to View Details of Order

When I tried to view an order, I get the below. I am running Commerce 7.x-1.7. Anyone has a solution?

EntityMetadataWrapperException: Unknown data property message_text. in EntityStructureWrapper->getPropertyInfo() (line 339 of /var/www/vhosts/mysite.com/httpdocs/sites/all/modules/entity/includes/entity.wrapper.inc). Backtrace:

EntityStructureWrapper->getPropertyInfo('message_text') entity.wrapper.inc:396
EntityStructureWrapper->get('message_text') entity.wrapper.inc:417
EntityStructureWrapper->__get('message_text') message.message_type.inc:168
MessageType->getText(NULL, Array) message.message.inc:157
Message->getText(NULL, Array) message_handler_field_message_render.inc:81
message_handler_field_message_render->render(Object) views_handler_field.inc:1041
views_handler_field->advanced_render(Object) theme.inc:354
template_preprocess_views_view_field(Array, 'views_view_field') theme.inc:1110
theme(Array, Array) views_handler_field.inc:1515
views_handler_field->theme(Object) views_plugin_style.inc:525
views_plugin_style->render_fields(Array) views_plugin_style.inc:430
views_plugin_style->render_grouping(Array, Array, 1) views_plugin_style.inc:325
views_plugin_style->render(Array) theme.inc:49
template_preprocess_views_view(Array) eva.theme.inc:9
template_preprocess_eva_display_entity_view(Array, 'eva_display_entity_view') theme.inc:1110
theme(Array, Array) views_plugin_display.inc:2605
views_plugin_display->render() view.inc:1264
view->render() eva_plugin_display_entity.inc:287
eva_plugin_display_entity->execute() view.inc:1345
view->execute_display('order_view') eva.module:82
eva_entity_view_alter(Array, 'commerce_order', NULL, NULL) module.inc:1063
drupal_alter(Array, Array, 'commerce_order') commerce.controller.inc:409
DrupalCommerceEntityController->view(Array, 'customer', NULL, 1) entity.module:526
entity_view('commerce_order', Array, 'customer', NULL, 1) commerce_order_ui.module:337
commerce_order_ui_order_view(Object, 'customer')
call_user_func_array('commerce_order_ui_order_view', Array) menu.inc:517
menu_execute_active_handler() index.php:21

Posted: Jul 13, 2013

Comments

ngwong on July 13, 2013

I went into Admin/Store/Configuration/Order Settings, undisplayed (hid) the EVA field that came with the default install of Backoffice/Kickstart, and everything works perfectly now. I do not know why the EVA display worked so well in Kickstart but not for me.