Posted by Hooker on December 14, 2012 at 4:58pm
Hi,
If an user with an account "customer" for example, adds an item to his cart and tries to checkout his own cart after this item has been deleted, there is this error message :
Error
The website encountered an unexpected error. Please try again later.
Error message
Notice: Trying to get property of non-object in commerce_product_line_item_populate() (line 1129 of /Applications/MAMP/htdocs/website/profiles/commerce_kickstart/modules/contrib/commerce/modules/product_reference/commerce_product_reference.module).
Notice: Trying to get property of non-object in commerce_product_line_item_populate() (line 1136 of /Applications/MAMP/htdocs/website/profiles/commerce_kickstart/modules/contrib/commerce/modules/product_reference/commerce_product_reference.module).
EntityMetadataWrapperException: Invalid data value given. Be sure it matches the required data type and format. in EntityDrupalWrapper->set() (line 744 of /Applications/MAMP/htdocs/website/profiles/commerce_kickstart/modules/contrib/entity/includes/entity.wrapper.inc).This is very disappointing, help me please ! :'(
Thank you .