Hi,
I am using Open Scholar. I created a content type called "Project" which has a field called "Team Members". This field is an entity reference to the "Person" content type. Rest of the fields in "Project" are text fields. While saving the content created based on "Project" content type, I get the following exception message
Notice: Undefined index: entity keys in entity_views_field_definition() (line 196 of .../profiles/openscholar/modules/contrib/entity/views/entity.views.inc).
EntityMetadataWrapperException: Unknown data property og_group_ref. in EntityStructureWrapper->getPropertyInfo() (line 339 of .../profiles/openscholar/modules/contrib/entity/includes/entity.wrapper.inc).
When I try to view this created content, I get the same exception message.
EntityMetadataWrapperException: Unknown data property og_group_ref. in EntityStructureWrapper->getPropertyInfo() (line 339 of .../profiles/openscholar/modules/contrib/entity/includes/entity.wrapper.inc).
I am using the latest version of OpenScholar i.e. 7.x-3.8.1. I have also updated Organic Groups module from 7.x-2.2 to 7.x-2.3. I have read in a forum that this helps but that is not so in my case.
Please let me know how this error can be resolved. Thanks in advance.
Comments
You don't need a new content
You don't need a new content type.
If you want to create a project with a group of "Person" nodes associated with it, either:
A) Make a project site.
Create a new "Project" site (or subsite)
i.e. mycustomsite.com/project1
Add person nodes on this site
i.e. mycustomsite.com/project1/node/add/person
See the people listed on the site at:
mycustomsite.com/project1/people
B) Make a project taxonomy on an existing site
Create a new taxonomy called "Projects" that can be tagged to Person nodes.
i.e. mycustomsite.com/mysite/cp/build/taxonomy
Add a term for your project (i.e. "Project Eagle")
Add or edit person nodes and tag them with the project term
Now you can see this subgroup of people on an automatically created taxonomy term page, or on any page you wish using the "List of Posts" widget, filtering over that term.
OpenScholar - Install once. Host hundreds of easy, custom, best-practice Drupal sites.
Cool Drupal sites I know:
Thank you for the reply. I
Thank you for the reply.
I want to interlink few more content types -- publications, projects, people, funding. For example, a publication can have several authors (provide list of people for selection), can be related to 1 or more projects (provide a list of projects to select) and will have a source of funding. There will be a lot of publications. So for each publication, should I provide a list of people tags/terms, project tags for selection?
Thanks again.