Coming from #2765919: Warning: array_flip(): Can only flip STRING and INTEGER and EntityMalformedException: Missing bundle property on entity of type group, but this pertains not only the Group module. This issue seems to have been resolved for Drupal 8 in #1067750: Let Field API fail in a tale-telling way on invalid $entity, however it has not back-ported yet and I couldn't find any issue for Drupal 7, so creating one. Correct me if there is already an active issue for Drupal 7.
Edit: In fact this issue might be not related to #1067750: Let Field API fail in a tale-telling way on invalid $entity at all, because the problem is reproducible by triggering "Create entity" rule for some entities that didn't require the "type" property. So this issue can be addressed on a module level, however Drupal core or maybe Rule module shouldn't break the website because of this error and handle the issue in more subtle way, maybe giving a warning to users.
Please take this to Rules module if that is proper place.
Comments
Comment #2
nickonom commented