Solved

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

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Dynamic Dropdowns 15 33
Undefined Variable: loop_limit, Undefined Variable: number 3 20
TCPDF - Create PDF from Form Values and Link to PDF Download 7 28
Ajax and PHP 4 31
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

821 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