Solved

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

Posted on 2014-01-08
1
1,663 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Are you using email marketing software? If not, you're missing out on effortless marketing and the reaching of desired conversion rates through email marketing software.
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to dynamically set the form action using jQuery.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

744 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

11 Experts available now in Live!

Get 1:1 Help Now