EntityMalformedException: Missing bundle property on entity of type commerce_customer_profile
When you declare an entity and function entity_get_info($entity_type = NULL) is called, the next function cache_set("entity_info:$langcode", $entity_info)  is also called which stores the entity info in the cache table, so probably your change is cached in the database.

If you're  executing drush cc all and you have the same message error again, you can try several more things:


You can call this function entity_info_cache_clear()
https://api.drupal.org/api/drupal/includes!common.inc/function/entity_info_cache_clear/7.
Try executing SELECT cid FROM cache WHERE cid LIKE 'entity_info%' from MySQL command line and then DELETE FROM cache WHERE cid="entity_info:en" -> "en" or whatever depending or your language config.
Try truncating the cache tables:

You can do:

drush sqlc with

SHOW TABLES LIKE 'cache_%';

TRUNCATE cache_tablename;

in order to remove the cached data where entity info is stored. The content of this tables are regenerated programatically when you make a request.


That probably should works