Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By Besbos on
Hi there,
I get the following error as soon as I try to checkout with a coupon that makes the product free. The order is placed, but you get an ugly error.
EntityMetadataWrapperException: Invalid data value given. Be sure it matches the required data type and format. in EntityDrupalWrapper->set() (line 737 of /sites/all/modules/entity/includes/entity.wrapper.inc).
If somebody knows how I can fix this, please let me know!
Comments
=-=
what version of ubercart and entity api is in use?
UberCart: 7.x-3.8
UberCart: 7.x-3.8
Entity API: 7.x-1.6
=-=
I'd research the issue queue of the modules involved. A quick search with google provides many threads in which the error can be found.
Hi, I already did, but none
Hi, I already did, but none of these topics go about the module UberCart. They are about modules I do not use.
=-=
They commonality that they share is entity API. Note that the error isn't from ubercart.
Did you research the ubercart and entity api issue queue for similar reports? If there aren't any existing reports, did you file one?
I have found a related issue,
I have found a related issue, but there wasn't any answer that I could use.
How do you mean, 'If there weren't any did you file one?'
=-=
if there aren't any already existing issue you create one in the queue. As there is an existing issue you comment on it and provide as much information as you can.