Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Duplicate
-
Affects Version/s: 4.0.1
-
Fix Version/s: 4.1.0
-
Component/s: Core CiviCRM
-
Labels:None
Description
I create a content type in drupal
I specify it is a group content type and I save the content type.
then I add content and click on the content I just created
I click on save
and get this error
Fatal error: Call to undefined function civicrm_error() in /var/www/drupal/sites/all/modules/civicrm/CRM/Bridge/OG/Drupal.php on line 79
Call Stack
- Time Memory Function Location
1 0.0002 69576 {main}( ) ../index.php:0
2 0.2216 20728416 menu_execute_active_handler( ) ../index.php:22
3 0.2229 20906428 call_user_func_array ( ) ../menu.inc:501
4 0.2229 20906504 node_add( ) ../menu.inc:0
5 0.2235 20919124 drupal_get_form( ) ../node.pages.inc:67
6 0.2235 20919124 drupal_build_form( ) ../form.inc:188
7 0.2349 21370784 drupal_process_form( ) ../form.inc:350
8 0.2617 21711136 form_execute_handlers( ) ../form.inc:830
9 0.2617 21711416 node_form_submit( ) ../form.inc:1390
10 0.2649 21716568 node_save( ) ../node.pages.inc:407
11 0.3679 28809108 module_invoke_all( ) ../node.module:1134
12 0.3681 28809108 call_user_func_array ( ) ../module.inc:817
13 0.3681 28809108 civicrm_og_sync_node_insert( ) ../module.inc:0
14 0.3681 28809108 _civicrm_og_sync_node_action( ) ../civicrm_og_sync.module:64
15 0.3687 28863188 CRM_Bridge_OG_Drupal::nodeapi( ) ../civicrm_og_sync.module:310
16 0.3703 28923728 CRM_Bridge_OG_Drupal::updateCiviGroup( ) ../Drupal.php:49
then if I try to delete the content I have this error message.
Sorry. A non-recoverable error has occurred.
We experienced an unexpected error. Please post a detailed description and the backtrace on the CiviCRM forums: http://forum.civicrm.org/
and this in the home page
- Notice: Undefined variable: groupType in CRM_Bridge_OG_Drupal::nodeapi() (line 49 of /var/www/drupal/sites/all/modules/civicrm/CRM/Bridge/OG/Drupal.php).
- Notice: Undefined index: title in CRM_Bridge_OG_Drupal::updateCiviGroup() (line 70 of /var/www/drupal/sites/all/modules/civicrm/CRM/Bridge/OG/Drupal.php).