Notice: Undefined index: field_name in og_ui_field_access() (line 278 of /Applications/MAMP/htdocs/drupal7/sites/all/modules/og/og_ui/og_ui.module).

I test on imac mamp and host server.
Mamp = apache 2 / php 5.2.13 / mysql 5.1.44
Host server = nginx 1.0.4 / Php-fpm 5.2.17 / mariadb 5.1

How to reproduce the error.
1.) Install Drupal 7.2
2.) Install the following
- Chaos tools 7.x-1.x-dev
- OG create permissions 7.x-1.0
- Organic groups 7.x-1.x-dev
- Organic groups access control 7.x-1.x-dev
- Organic groups UI 7.x-1.x-dev
- Entity API 7.x-1.x-dev
- Views 7.x-3.x-dev
- Views UI 7.x-3.x-dev
3.) Run Rebuild permissions
4.) Create two new content type. "Group" and "Group Content"
5.) goto admin/config/group/fields
- (Bundles = Group) (fields = Group type)
- (Bundles = Group) (fields = Group roles and permissions)
- (Bundles = Group) (fields = Group visibility)
- (Bundles = Group content) (fields = Group audience)
- (Bundles = Group content) (fields = Group content visibility)
6.) admin/config/media/file-system
- Private file system path = sites/default/files/private
- save configuration
7.) admin/config/media/file-system
- Default download method = Private local files served by Drupal.
- save configuration
8.) admin/structure/types/manage/group_content/fields
- LABEL = upload photo
- NAME = field_upload_photo
- FIELD = Image
- WIGET = Image
- Save
- Upload Destination = Private files
- File directory = upload/photo
- Number of values = unlimited
- Save Settings
9.) node/add/group
- Title = My group
- Group type = Group type
- Group roles and permissions = Use default roles and permissions
- Group visibility = Private - accessible only to group members
- Save
10.) node/add/group-content
- Title = First group post
- Groups audience = My group
- Group content visibility = Use group defaults
- Upload Photo (upload any image)
- Save
11.) Goto group-content node. Error when show up.

og 7.x-1.1-rc3 doesn't have this problem.

Comments

amitaibu’s picture