Answers.Body: <p>Ensure you have extension nz.co.fuzion.entitysetting enabled as it is a requirement of nz.co.fuzion.relatedpermission</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-08-12T05:43:49.583Z
Answers.Text: Perfect. That was an issue that occurred. I had nz.co.fuzion.entitysetting and the issue is gone.
Answers.UserDisplayName: Ichi
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-28T01:23:06.627Z
Answers.LastActivityDate: 2018-02-28T01:23:06.627Z
Answers.UserDisplayName: petednz - fuzion
Body: <p>Although, I had orignally thought the issue was on the "Webform CiviCRM Integration" module end, further testing shows it is likely an issue on the CiviCRM end since when I manually try to create the relationship I end up with a "spinning wheel" and a page refresh gives the following error:</p>
  
  <p>"unknown relationship create error API (EntitySetting, get) does not exist (join the API team and implement it!)"</p>
  
  <p>Any insight?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-02-25T19:32:49.967Z
Comments.Text: have you created any Relationships between Contact Sub-types then perhaps deleted the Contact sub-type?
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-02-26T01:31:06.263Z
Comments.Text: No, there has been no changes in regards to Contact Sub-types
Comments.UserDisplayName: Thinkwell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-02-26T15:58:21.797Z
Comments.Text: Solved - After more testing, I have discovered the issue is with the CiviCRM extension "Related Permissions Module (nz.co.fuzion.relatedpermissions)". Once disabled, the ability to add relationships between two contacts resumed.
Comments.UserDisplayName: Thinkwell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-02-26T20:09:49.463Z
Comments.Text: I would be interested to know how to replicate this. That extension - one of ours - is in use on a lot of sites running v complex configurations. Was it the latest version?
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-02-27T14:58:30.693Z
Comments.Text: Hi Peter, would be happy to provide any info you require but can tell you I tested yesterday with a fresh install of Drupal 7.57, CiviCRM 4.7.30 and Related Permissions Module 1.3 .
Comments.UserDisplayName: Thinkwell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-02-27T20:29:26.600Z
Comments.Text: I just installed the extension (along with nz.co.fuzion.entitysetting) on a 4.7.30 site (drupal) and my relationships tab is loading fine. I then enabled 2nd degree relationships at civicrm/admin/setting/misc?reset=1 and rechecked and Relationship tab loaded fine. I then set some Relationship Types to 'always Permission A" and it still loaded. I then deleted a Rel. Type that had 'always Permission' set on it just in case, and it still loaded. Finding it hard to find the particular scenario to get this to fail. Do you want to reenable then try and get any errors from the page via Inspect
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-02-28T01:12:36.567Z
Comments.Text: Just re-tested and if I also install and enable "nz.co.fuzion.entitysetting" I am able to set a relationship between contacts.
Comments.UserDisplayName: Thinkwell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-02-28T01:23:04.907Z
Comments.Text: okay - note that extension is a requirement of relatedpermission - though i also tested without it and still wasn't getting the problem but glad we solved it. can you pls accept the answer below
Comments.UserDisplayName: petednz - fuzion
Tags: <relationships>
Title: Can not add Relationship to contact post CiviCRM 4.7.30 upgrade
ThreadText: # Can not add Relationship to contact post CiviCRM 4.7.30 upgrade
  
  (Asked by: username_0 on 2018-02-25)
  
  Although, I had orignally thought the issue was on the "Webform CiviCRM Integration" module end, further testing shows it is likely an issue on the CiviCRM end since when I manually try to create the relationship I end up with a "spinning wheel" and a page refresh gives the following error:
  
  "unknown relationship create error API (EntitySetting, get) does not exist (join the API team and implement it!)"
  
  Any insight?
  
  **Tags:** relationships
  
  > **Comments:**
  > **username_1**: have you created any Relationships between Contact Sub-types then perhaps deleted the Contact sub-type?  
  > **username_0**: No, there has been no changes in regards to Contact Sub-types  
  > **username_0**: Solved - After more testing, I have discovered the issue is with the CiviCRM extension "Related Permissions Module (nz.co.fuzion.relatedpermissions)". Once disabled, the ability to add relationships between two contacts resumed.  
  > **username_1**: I would be interested to know how to replicate this. That extension - one of ours - is in use on a lot of sites running v complex configurations. Was it the latest version?  
  > **username_0**: Hi Peter, would be happy to provide any info you require but can tell you I tested yesterday with a fresh install of Drupal 7.57, CiviCRM 4.7.30 and Related Permissions Module 1.3 .  
  > **username_1**: I just installed the extension (along with nz.co.fuzion.entitysetting) on a 4.7.30 site (drupal) and my relationships tab is loading fine. I then enabled 2nd degree relationships at civicrm/admin/setting/misc?reset=1 and rechecked and Relationship tab loaded fine. I then set some Relationship Types to 'always Permission A" and it still loaded. I then deleted a Rel. Type that had 'always Permission' set on it just in case, and it still loaded. Finding it hard to find the particular scenario to get this to fail. Do you want to reenable then try and get any errors from the page via Inspect  
  > **username_0**: Just re-tested and if I also install and enable "nz.co.fuzion.entitysetting" I am able to set a relationship between contacts.  
  > **username_1**: okay - note that extension is a requirement of relatedpermission - though i also tested without it and still wasn't getting the problem but glad we solved it. can you pls accept the answer below  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-02-28. Score: 2 | Accepted answer
  
  Ensure you have extension nz.co.fuzion.entitysetting enabled as it is a requirement of nz.co.fuzion.relatedpermission
  
  > **Comments:**
  > **username_2**: Perfect. That was an issue that occurred. I had nz.co.fuzion.entitysetting and the issue is gone.  
  
  ---
  
  