Viewing 8 replies - 1 through 8 (of 8 total)
  • I’m using version 1.0.4 and I’m getting the same error message:

    Fatal error: Cannot unset string offsets in?/home/theext7/public_html/wp-content/plugins/buddypress-extended-friendship-request/bp-extended-friendship-request.php?on line?373

    This only seems to happen when a new user is registering for my site, and my custom function automatically friends the user with the user who invited them using the friends_add_friend function.

    I only get this error message when I have force_accept set to true. When I set it to false and the user tries to accept the request, I get the buddypress error message that says “there was a problem completing this friend request”, but the friend connection does go through.

    Is there a way to programmatically add a default friend request message via friends_add_friend?

    Thanks for the VERY useful plugin.

    Plugin Author Brajesh Singh

    (@sbrajesh)

    Hi,
    My apologies for the trouble.
    Please give me a few hours today to test and I will have a fix.

    Great, thanks Brajesh!

    Hey Brajesh,

    Did you manage to manage to find a solution to this issue?

    Oh, and is there a way to add a default message when the friends_add_friend function is called?

    Plugin Author Brajesh Singh

    (@sbrajesh)

    Hi,
    Sorry about the delay.
    Yes, I have fixed the issue but need to upload on wp.org
    Committing the changes in 5-10 minutes and will update here.

    Plugin Author Brajesh Singh

    (@sbrajesh)

    Hi,
    I have updated the version on wp.org to 1.0.5
    Can you please check if this workd for you or not?

    Thank you
    Brajesh

    Thanks for the update Brajesh!

    It’s working perfectly now.

    Plugin Author Brajesh Singh

    (@sbrajesh)

    Thank you.
    Closing the topic now.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Error when accept friend request’ is closed to new replies.