Members can not accept friend requests in BuddyPress

Members are not able to accept friend requests in BuddyPress, it’s showing:

“There was a problem accepting that request. Please try again.”

While trying to accept friend request. Can you please help what’s causing this issue?