Fix bug in Drupal Commons

Hi,
I need help to solve an issue within Drupal-Commons, version 7x-3.46.
On the site users can connect with other users via the Trusted Contacts feature, similar to friends on facebook. The issue is, however, that they cannot break such a connection. They can tick the box, click the button, but the connection is still there… Only administrators on the site can break an existing connection.
There is some discussion of this problem on this link:
https://www.drupal.org/project/commons/issues/2588155
after applying the patch it doesn’t throw an error anymore, but users still cannot break the contact.
Further details and discussion of this issue is available online, in links such as:
https://drupal.stackexchange.com/questions/259895/drupal-commons-cant-br…

Please contact me here for any more details.

so just to clarify my situation:
registered users cannot break contact. it goes through the motions, but the contact is still there at the end of it..
if an admin breaks the connection, it does break it, but also throws an error:

An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: /batch?id=15&op=do StatusText: Service unavailable (with message) ResponseText: EntityMetadataWrapperException: Invalid data value given. Be sure it matches the required data type and format. Value at og_membership(): . in EntityDrupalWrapper->set() (line 756 of C:UsersUSERSitesnewManagprofilescommonsmodulescontribentityincludesentity.wrapper.inc).

hope this helps..
kind regards,
d

Drupal version: 


Source: https://www.drupal.org/taxonomy/term/51/feed