Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Errors thrown;
Notice: Trying to get property of non-object in og_field_delete_instance() (line 660 of .../sites/all/modules/contrib/og/og.module).
Notice: Trying to get property of non-object in og_field_delete_instance() (line 660 of .../sites/all/modules/contrib/og/og.module).
Notice: Trying to get property of non-object in og_field_delete_instance() (line 660 of .../sites/all/modules/contrib/og/og.module).
Steps to reproduce;
- create a content type, check the "Group" checkbox under Organic Groups
- go to manage fields and delete 'Group' upon confirmation of deleting you receive the above errors
Setting as minor as everything appears to cleanup correctly in the content type regarding og settings etc. and this would only be seen by an administrator.
Comments
Comment #1
amitaibuFixed, thanks.