I'm getting a flip-array error if I try to create content from an OG group or OG content type if this module is installed, and no previous group content has been created.

Comments

pav’s picture

Ditto. (Reproducibly on a clean install.)

Warning: array_flip(): Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 178 of /var/www/sheffieldfencing/includes/entity.inc).
Notice: Trying to get property of non-object in og_create_perms_field_attach_validate() (line 50 of /var/www/sheffieldfencing/sites/all/modules/og_create_perms/og_create_perms.module).
Warning: array_flip(): Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 178 of /var/www/sheffieldfencing/includes/entity.inc).
Warning: array_flip(): Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->cacheGet() (line 354 of /var/www/sheffieldfencing/includes/entity.inc).
EntityMalformedException: Missing bundle property on entity of type node. in entity_extract_ids() (line 7405 of /var/www/sheffieldfencing/includes/common.inc).
othermachines’s picture

In my case it didn't matter whether group content had already been created.

This patch solved the issue for me: http://drupal.org/node/1220212#comment-5181770. Sigh. Scratch that.

Error printout on create form for group content node types:

Warning: array_flip(): Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 178 of /home/x/public_html/includes/entity.inc).
Warning: array_flip(): Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 178 of /home/x/public_html/includes/entity.inc).
Warning: array_flip(): Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 178 of /home/x/public_html/includes/entity.inc).
othermachines’s picture