Closed (fixed)
Project:
CiviRelate
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Aug 2010 at 07:09 UTC
Updated:
10 Nov 2010 at 16:49 UTC
After updating CiviCRM from 3.1.5 to 3.2. I get this error.
Comments
Comment #1
dsuguy commentedIt appears that in civicrm/api/v2 that they have split the code that deals with relationships into two files (Relationship.php and RelationshipType.php)
The function civicrm_relationship_types_get() is in the RelationshipType.php file and that file is not called in the Civi Relate module code.
I believe if you edit the Civi Relate module code around line 19 to add
require_once('api/v2/RelationshipType.phpSo that lines 15 through 21 look like the following then it should work. Please note that I have not tried this yet...but it makes sense that it would work.
Comment #2
dsuguy commentedJust tried the code and it worked.
Comment #3
skolesnyk commentedYep, it works. Thanks.
Comment #5
hperrett commentedFabulous! Thanks a lot was trying to figure out why the module wasn't working.
Comment #6
fathershawnSorry I missed this! But Release 2.0 is updated to fix this.