CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Unrecoverable error when adding new group to OG using CiviCRM OG Sync
Pages: [1]

Author Topic: Unrecoverable error when adding new group to OG using CiviCRM OG Sync  (Read 527 times)

LizD

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 4.1
  • CMS version: Drupal 7.x
  • MySQL version: 5.1
  • PHP version: 5.3
Unrecoverable error when adding new group to OG using CiviCRM OG Sync
July 16, 2012, 06:32:12 pm
I added a bnch of groups to OG groups and they added to CiviCRM just fine. Then I deleted some groups I had made on  CiviCRM before reading that I had to add on OG first. Then I went to add the groups on OG and on the first one I received hte unrecoverable error. Perhaps because the group had existed?? Here is the backtrace:

backTrace

/var/www/vhosts/desert-star.ptm-devel.org/httpdocs/sites/all/modules/civicrm/CRM/Core/Error.php, backtrace, 296
/var/www/vhosts/desert-star.ptm-devel.org/httpdocs/sites/all/modules/civicrm/CRM/Bridge/OG/Utils.php, fatal, 117
/var/www/vhosts/desert-star.ptm-devel.org/httpdocs/sites/all/modules/civicrm/CRM/Bridge/OG/Drupal.php, groupID, 197
/var/www/vhosts/desert-star.ptm-devel.org/httpdocs/sites/all/modules/civicrm/drupal/modules/civicrm_og_sync/civicrm_og_sync.module, og, 282
/var/www/vhosts/desert-star.ptm-devel.org/httpdocs/sites/all/modules/civicrm/drupal/modules/civicrm_og_sync/civicrm_og_sync.module, _civicrm_og_sync_group_action, 93
, civicrm_og_sync_og_membership_insert,
/var/www/vhosts/desert-star.ptm-devel.org/httpdocs/includes/module.inc, call_user_func_array, 823
/var/www/vhosts/desert-star.ptm-devel.org/httpdocs/sites/all/modules/entity/includes/entity.controller.inc, module_invoke_all, 309
/var/www/vhosts/desert-star.ptm-devel.org/httpdocs/sites/all/modules/entity/includes/entity.controller.inc, invoke, 388
/var/www/vhosts/desert-star.ptm-devel.org/httpdocs/sites/all/modules/entity/includes/entity.inc, save, 188
/var/www/vhosts/desert-star.ptm-devel.org/httpdocs/sites/all/modules/og/og.module, save, 990
/var/www/vhosts/desert-star.ptm-devel.org/httpdocs/sites/all/modules/og/og.module, save, 555
, og_membership_insert_on_entity_presave,
/var/www/vhosts/desert-star.ptm-devel.org/httpdocs/sites/all/modules/og/og.module, call_user_func, 506
, og_entity_presave,
/var/www/vhosts/desert-star.ptm-devel.org/httpdocs/includes/module.inc, call_user_func_array, 823
/var/www/vhosts/desert-star.ptm-devel.org/httpdocs/modules/user/user.module, module_invoke_all, 467
/var/www/vhosts/desert-star.ptm-devel.org/httpdocs/sites/all/modules/entity/modules/callbacks.inc, user_save, 765
/var/www/vhosts/desert-star.ptm-devel.org/httpdocs/sites/all/modules/entity/entity.module, entity_metadata_user_save, 181
/var/www/vhosts/desert-star.ptm-devel.org/httpdocs/sites/all/modules/og/og.module, entity_save, 1678
/var/www/vhosts/desert-star.ptm-devel.org/httpdocs/sites/all/modules/og/og.field.inc, og_group, 514
/var/www/vhosts/desert-star.ptm-devel.org/httpdocs/sites/all/modules/og/og.field.inc, og_field_crud_group, 360
, og_field_attach_insert,
/var/www/vhosts/desert-star.ptm-devel.org/httpdocs/includes/module.inc, call_user_func_array, 823
/var/www/vhosts/desert-star.ptm-devel.org/httpdocs/modules/field/field.attach.inc, module_invoke_all, 944
/var/www/vhosts/desert-star.ptm-devel.org/httpdocs/modules/node/node.module, field_attach_insert, 1132
/var/www/vhosts/desert-star.ptm-devel.org/httpdocs/modules/node/node.pages.inc, node_save, 406
/var/www/vhosts/desert-star.ptm-devel.org/httpdocs/includes/form.inc, node_form_submit, 1443
/var/www/vhosts/desert-star.ptm-devel.org/httpdocs/includes/form.inc, form_execute_handlers, 854
/var/www/vhosts/desert-star.ptm-devel.org/httpdocs/includes/form.inc, drupal_process_form, 374
/var/www/vhosts/desert-star.ptm-devel.org/httpdocs/includes/form.inc, drupal_build_form, 131
/var/www/vhosts/desert-star.ptm-devel.org/httpdocs/modules/node/node.pages.inc, drupal_get_form, 66
, node_add,
/var/www/vhosts/desert-star.ptm-devel.org/httpdocs/includes/menu.inc, call_user_func_array, 516
/var/www/vhosts/desert-star.ptm-devel.org/httpdocs/index.php, menu_execute_active_handler, 21

RegB

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
  • CiviCRM version: 4.2.6
  • CMS version: Drupal 7.20
  • MySQL version: 5.1.66
  • PHP version: 5.3.19
Re: Unrecoverable error when adding new group to OG using CiviCRM OG Sync
September 05, 2012, 12:29:31 pm
I experienced a similar problem.  I am learning on a test site and created several test groups to see how they worked.  Then, I deleted all of the test groups (resulting in no groups) AND I deleted all of the Drupal "Group" Content Types.  When I started over by creating a new Group Content Type then created my first group, I received the following errors:


•   Notice: Trying to get property of non-object  in _civicrm_og_sync_group_action() (line 277 of/home/nenehutk/public_html/sites/all/modules/civicrm/drupal/modules/civicrm_og_sync/civicrm_og_sync.module).
•   Notice: Trying to get property of non-object in _civicrm_og_sync_group_action() (line 278 of/home/nenehutk/public_html/sites/all/modules/civicrm/drupal/modules/civicrm_og_sync/civicrm_og_sync.module).
•   Notice: Trying to get property of non-object in _civicrm_og_sync_group_action() (line 280 of/home/nenehutk/public_html/sites/all/modules/civicrm/drupal/modules/civicrm_og_sync/civicrm_og_sync.module).
•   Notice: Undefined index: group_id in CRM_Bridge_OG_Drupal::nodeapi() (line 61 of/home/nenehutk/public_html/sites/all/modules/civicrm/CRM/Bridge/OG/Drupal.php).


Did you find a solution to this problem?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Unrecoverable error when adding new group to OG using CiviCRM OG Sync

This forum was archived on 2017-11-26.