Hello,
I was running Drupal Commerce Kickstart v2.11 on EasyPHP for windows local server.
I added these modules related to Commerce:

  • commerce_bpc
  • commerce_colissimo
  • commerce_free_shipping
  • commerce_stock
  • addressfield_phone
  • and a custom module for commerce stock quickedit : https://drupal.org/node/1892150

When i try to access the url : admin/commerce/orders/xx or /user/xx/orders/xx or admin/content/message, I always get this error message :

EntityMetadataWrapperException : Unknown data property message_text. dans EntityStructureWrapper->getPropertyInfo() (line 339 in C:\serverpath\www\profiles\commerce_kickstart\modules\contrib\entity\includes\entity.wrapper.inc

So :

  • I updated Drupal Commerce Kickstart to v2.12, and so to Drupal 7.26
  • I updated commerce message module to 7.x-1.0-rc1+1-dev version
  • I installed and ran commerce repair module https://drupal.org/project/commerce_repair
  • I search in Drupal Forums and found : https://drupal.org/node/1433832 but i don't have uuid installed.
  • I also put " print debug_print_backtrace(); " into entity.wrapper.inc, but the backtrace is huge...
  • I found a lot of pages talking about the same error but none of them when accessing admin/content/message

->after all this, problem is remaining...

Can someone please help me on this issue?

Comments

rico3030’s picture

Looking into EntityDrupalWrapper Object that causes error, I can see that data property : message_text is not where expected in entity.wrapper.inc :
it is not in EntityDrupalWrapper ->propertyInfo[properties][message_text]
but in EntityDrupalWrapper ->propertyInfo[bundles][message_type][properties][message_text]

Can this clue help ??

rico3030’s picture

Title: EntityMetadataWrapperException when trying to access admin/content/message » EntityMetadataWrapperException on order or messages pages
Category: Bug report » Support request
Issue summary: View changes
rico3030’s picture

Issue summary: View changes
rico3030’s picture

Priority: Normal » Major
rico3030’s picture

I also get this error message on this page : admin/commerce/orders/xx/history.

I also checked that /user/xx/orders/xx page is unreachable only when logged with the admin account.
Please Help!

rico3030’s picture

I found this post : http://www.drupalcommerce.org/discussions/8792/unable-view-details-order

It helps to solve the problem to access admin/commerce/orders/xx or /user/xx/orders/xx as an admin user, but what are the side effects of hiding these EVA fields ?? :

  • EVA: Commerce Backoffice: Order payments - Backoffice Order Payment EVA Field
  • EVA: Commerce Message: Order messages - Entity content

Why these fields are causing this error : EntityMetadataWrapperException : Unknown data property message_text. ??

lsolesen’s picture

Priority: Major » Normal
Status: Active » Postponed (maintainer needs more info)
Issue tags: -Commerce Kickstart v2

Could you please try on latest version?

lsolesen’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Closed for inactivity. Please reopen if you still have the problem. Try on the latest version and enclose the exact steps to reproduce the problem.