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) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • audit of api use in 3.4.0/4.0.0
Pages: 1 [2]

Author Topic: audit of api use in 3.4.0/4.0.0  (Read 2196 times)

miko

  • I post occasionally
  • **
  • Posts: 75
  • Karma: 2
  • CiviCRM version: 3.4.5
  • CMS version: Drupal 6.22
  • MySQL version: 5.0.77
  • PHP version: 5.2.11
Re: audit of api use in 3.4.0/4.0.0
May 11, 2011, 08:13:06 am
Ken, looks like you're the only one so far to mention:

./drupal/modules/civicrm_group_roles/civicrm_group_roles.module:114:    civicrm_api_include('uf_group'); ***** see the TODO - 'uf_match_id_get' doesn't exist in v2 or v3

And I'm using CiviCRM Group Roles Sync with CiviCRM 3.4.1 and i'm getting this error when, on the Drupal Side, I try to edit a blocked user in the synched group "Volunteer Applicant"- I'm trying to unblock the person and give the person a password, but instead I get:

Fatal error: Call to undefined function uf_match_id_get() in /home/soncnv/webapps/dru6/sites/all/modules/civicrm/drupal/modules/civicrm_group_roles/civicrm_group_roles.module on line 115

Any clues as to how I can fix this?

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
Re: audit of api use in 3.4.0/4.0.0
May 11, 2011, 04:30:57 pm
I think you need to change 'uf_match_id_get' to 'civicrm_uf_match_id_get' on line 115.

Pages: 1 [2]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • audit of api use in 3.4.0/4.0.0

This forum was archived on 2017-11-26.