Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1869
  • Last Modified:

Drupal - How can if fix this EntityMetadataWrapperException: Unknown data property error

The following error occurs on my dev environment when I try to bundle using the Drupal features module. It happens with I have the commerce_discount module installed.  I click "Generate Feature" and the following error appears.

EntityMetadataWrapperException: Unknown data property name. in EntityStructureWrapper->getPropertyInfo() (line 339 of /Users/cranby6/Sites/drustore.localhost/sites/all/modules/entity/includes/entity.wrapper.inc).

Does anyone have any idea how I can fix this?  I need to bundle the discounts that I created and move them to our demo server, but I can't get past this error.

Any help, suggestions would be appreciated.
0
quikwallace
Asked:
quikwallace
1 Solution
 
quikwallaceAuthor Commented:
For those who come across this same it - in my case - it is related to a conflict with the features module.  In my case, to circumvent the issue, I exported the discount, saved it to a file, then when creating the feature, I did not include the discount coupon.  Once feature was create and I installed it into a new site, i went into that site and imported the discount.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now