I consistently get this error when trying to create a new group in D7.
When I try to add a public group... I get this error ( but the group is still added...)
Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 177 of /home/timeetup/public_html/includes/entity.inc).
Notice: Trying to get property of non-object in og_create_perms_field_attach_validate() (line 50 of /home/timeetup/public_html/sites/all/modules/og_create_perms/og_create_perms.module).
Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 177 of /home/timeetup/public_html/includes/entity.inc).
Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->cacheGet() (line 353 of /home/timeetup/public_html/includes/entity.inc).
Notice: Trying to get property of non-object in entity_extract_ids() (line 7368 of /home/timeetup/public_html/includes/common.inc).
Notice: Undefined index: field_name in field_language() (line 275 of /home/timeetup/public_html/modules/field/field.multilingual.inc).
Notice: Undefined index: field_name in field_language() (line 275 of /home/timeetup/public_html/modules/field/field.multilingual.inc).
Notice: Undefined index: field_name in field_language() (line 275 of /home/timeetup/public_html/modules/field/field.multilingual.inc).
Notice: Undefined index: field_name in field_language() (line 275 of /home/timeetup/public_html/modules/field/field.multilingual.inc).
Notice: Undefined index: field_name in field_language() (line 275 of /home/timeetup/public_html/modules/field/field.multilingual.inc).
Notice: Undefined index: field_name in field_language() (line 275 of /home/timeetup/public_html/modules/field/field.multilingual.inc).
Notice: Undefined index: field_name in field_language() (line 275 of /home/timeetup/public_html/modules/field/field.multilingual.inc).
Notice: Undefined index: field_name in field_language() (line 275 of /home/timeetup/public_html/modules/field/field.multilingual.inc).
Notice: Trying to get property of non-object in og_create_perms_field_attach_validate() (line 55 of /home/timeetup/public_html/sites/all/modules/og_create_perms/og_create_perms.module).
Notice: Trying to get property of non-object in og_create_perms_field_attach_validate() (line 63 of /home/timeetup/public_html/sites/all/modules/og_create_perms/og_create_perms.module).
Notice: Trying to get property of non-object in user_access() (line 774 of /home/timeetup/public_html/modules/user/user.module).
Notice: Trying to get property of non-object in user_access() (line 786 of /home/timeetup/public_html/modules/user/user.module).
Notice: Trying to get property of non-object in user_access() (line 787 of /home/timeetup/public_html/modules/user/user.module).
Notice: Trying to get property of non-object in user_access() (line 793 of /home/timeetup/public_html/modules/user/user.module).
Notice: Trying to get property of non-object in user_access() (line 796 of /home/timeetup/public_html/modules/user/user.module).
Notice: Trying to get property of non-object in og_create_perms_field_attach_validate() (line 67 of /home/timeetup/public_html/sites/all/modules/og_create_perms/og_create_perms.module).
============
when I try to add a private group I get this error:
Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 177 of /home/timeetup/public_html/includes/entity.inc).
Notice: Trying to get property of non-object in og_create_perms_field_attach_validate() (line 50 of /home/timeetup/public_html/sites/all/modules/og_create_perms/og_create_perms.module).
Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 177 of /home/timeetup/public_html/includes/entity.inc).
Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->cacheGet() (line 353 of /home/timeetup/public_html/includes/entity.inc).
Notice: Trying to get property of non-object in entity_extract_ids() (line 7368 of /home/timeetup/public_html/includes/common.inc).
Notice: Undefined index: field_name in field_language() (line 275 of /home/timeetup/public_html/modules/field/field.multilingual.inc).
Notice: Undefined index: field_name in field_language() (line 275 of /home/timeetup/public_html/modules/field/field.multilingual.inc).
Notice: Undefined index: field_name in field_language() (line 275 of /home/timeetup/public_html/modules/field/field.multilingual.inc).
Notice: Undefined index: field_name in field_language() (line 275 of /home/timeetup/public_html/modules/field/field.multilingual.inc).
Notice: Undefined index: field_name in field_language() (line 275 of /home/timeetup/public_html/modules/field/field.multilingual.inc).
Notice: Undefined index: field_name in field_language() (line 275 of /home/timeetup/public_html/modules/field/field.multilingual.inc).
Notice: Undefined index: field_name in field_language() (line 275 of /home/timeetup/public_html/modules/field/field.multilingual.inc).
Notice: Undefined index: field_name in field_language() (line 275 of /home/timeetup/public_html/modules/field/field.multilingual.inc).
Notice: Trying to get property of non-object in og_create_perms_field_attach_validate() (line 55 of /home/timeetup/public_html/sites/all/modules/og_create_perms/og_create_perms.module).
Notice: Trying to get property of non-object in og_create_perms_field_attach_validate() (line 63 of /home/timeetup/public_html/sites/all/modules/og_create_perms/og_create_perms.module).
Notice: Trying to get property of non-object in user_access() (line 774 of /home/timeetup/public_html/modules/user/user.module).
Notice: Trying to get property of non-object in user_access() (line 786 of /home/timeetup/public_html/modules/user/user.module).
Notice: Trying to get property of non-object in user_access() (line 787 of /home/timeetup/public_html/modules/user/user.module).
Notice: Trying to get property of non-object in user_access() (line 793 of /home/timeetup/public_html/modules/user/user.module).
Notice: Trying to get property of non-object in user_access() (line 796 of /home/timeetup/public_html/modules/user/user.module).
Notice: Trying to get property of non-object in og_create_perms_field_attach_validate() (line 67 of /home/timeetup/public_html/sites/all/modules/og_create_perms/og_create_perms.module).
Notice: Trying to get property of non-object in og_access_node_access_records() (line 71 of /home/timeetup/public_html/sites/all/modules/og/og_access/og_access.module).
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'gid' cannot be null: INSERT INTO {node_access} (nid, realm, gid, grant_view, grant_update, grant_delete) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5); Array ( [:db_insert_placeholder_0] => 10 [:db_insert_placeholder_1] => group_access_authenticated [:db_insert_placeholder_2] => [:db_insert_placeholder_3] => 1 [:db_insert_placeholder_4] => 0 [:db_insert_placeholder_5] => 0 ) in node_access_write_grants() (line 3331 of /home/timeetup/public_html/modules/node/node.module).
so what stupid thing am I doing wrong here?
thanks