I got the following error

EntityMetadataWrapperException: Unable to get the data property commerce_total as the parent data structure is not set. in EntityStructureWrapper->getPropertyValue() line 442 ...

...on a data export of a view (at a commerce site) with some complex 'relationships' between line items and orders.

I sorted it out by using 'filtering criteria' to filter out rows that had empty results.
Said in another way: The fields generated from the relations was sometimes empty and that gave me errors...

Not sure if this is a views data export, a views, a commerce or an entity related error - or even a "real" error - but I got it after using views_data_export!
My main reason for posting it here is that it might help somebody else with a similar error :)

Comments

haradhansharma’s picture

During Checkout process, when clicking on My shipping information is the same as my billing information. below notice are getting, ---- but when entering separate address, then this massage are not showing!!

EntityMetadataWrapperException: Unable to get the data property commerce_total as the parent data structure is not set. in EntityStructureWrapper->getPropertyValue() (line 442

need solution!

Steven Jones’s picture

Status: Active » Postponed (maintainer needs more info)

What data exports have you set up?

Steven Jones’s picture

Issue summary: View changes

corrected last line for better understandability :)