I got this error when uninstalling User Relationships module. I don't have the full error message but it had a reference to the Drupal Chat module. I didn't remove any of the UR settings before uninstalling so perhaps that was the problem but in any case this shouldn't happen. It was a really annoying bug too since after the error I couldn't access any admin page anymore. I eventually removed the Drupal Chat module folder and then continued with the UR uninstall.

Comments

Hi,

It seems like you had configured DrupalChat to use UR module. Is it so?

Thanks!

Yes, I had Drupal Chat using UR. Then I decided not to use UR and had it uninstalled (without removing the connection from Drupal Chat).

Hmm, that seems to be the problem. Need to fix.

Version:7.x-1.x-dev» 7.x-1.0-beta21

PHP Fatal error: Call to undefined function user_relationships_load() in /........../sites/all/modules/drupalchat/drupalchat.module on line 865, referer: http://site.com/authorize.php?batch=.....
This error occurs during installation 7.x-1.0-beta21. I had installed UR module, but now it is not, I have uninstalled it for a long time.