Solved

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

Posted on 2014-01-08
1
1,687 Views
Last Modified: 2014-01-11
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
Comment
Question by:quikwallace
1 Comment
 

Accepted Solution

by:
quikwallace earned 0 total points
ID: 39774293
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

E-commerce is quite a gambling world, and you should never entrust your business to a lucky chance. In order to outrun your competitors in a race to attract as many customers as possible, you need to have a well thought-out strategy under your belt.…
How important is it to take extra precautions to protect your online business? These are some steps you can take to make sure you're free of any cyber crime.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now