Title: Error when accept friend request
Last modified: August 21, 2016

---

# Error when accept friend request

 *  Resolved [ALBCODERS](https://wordpress.org/support/users/albcoders/)
 * (@albcoders)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/error-when-accept-friend-request/)
 * Fatal error: Cannot unset string offsets in /membri/buddypress/wp-content/plugins/
   buddypress-extended-friendship-request/bp-extended-friendship-request.php on 
   line 338
 * any idea?
 * [https://wordpress.org/plugins/buddypress-extended-friendship-request/](https://wordpress.org/plugins/buddypress-extended-friendship-request/)

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [Christian Freeman (codelion)](https://wordpress.org/support/users/takinglife2themax/)
 * (@takinglife2themax)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/error-when-accept-friend-request/#post-5084986)
 * 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](https://wordpress.org/support/users/sbrajesh/)
 * (@sbrajesh)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/error-when-accept-friend-request/#post-5084988)
 * Hi,
    My apologies for the trouble. Please give me a few hours today to test and
   I will have a fix.
 *  [Christian Freeman (codelion)](https://wordpress.org/support/users/takinglife2themax/)
 * (@takinglife2themax)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/error-when-accept-friend-request/#post-5084989)
 * Great, thanks Brajesh!
 *  [Christian Freeman (codelion)](https://wordpress.org/support/users/takinglife2themax/)
 * (@takinglife2themax)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/error-when-accept-friend-request/#post-5084990)
 * 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](https://wordpress.org/support/users/sbrajesh/)
 * (@sbrajesh)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/error-when-accept-friend-request/#post-5084991)
 * 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](https://wordpress.org/support/users/sbrajesh/)
 * (@sbrajesh)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/error-when-accept-friend-request/#post-5084992)
 * 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
 *  [Christian Freeman (codelion)](https://wordpress.org/support/users/takinglife2themax/)
 * (@takinglife2themax)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/error-when-accept-friend-request/#post-5084993)
 * Thanks for the update Brajesh!
 * It’s working perfectly now.
 *  Plugin Author [Brajesh Singh](https://wordpress.org/support/users/sbrajesh/)
 * (@sbrajesh)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/error-when-accept-friend-request/#post-5084994)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/buddypress-extended-friendship-request_ffffff.
   svg)
 * [BuddyPress Extended Friendship Request](https://wordpress.org/plugins/buddypress-extended-friendship-request/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/buddypress-extended-friendship-request/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/buddypress-extended-friendship-request/)
 * [Active Topics](https://wordpress.org/support/plugin/buddypress-extended-friendship-request/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/buddypress-extended-friendship-request/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/buddypress-extended-friendship-request/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [Brajesh Singh](https://wordpress.org/support/users/sbrajesh/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/error-when-accept-friend-request/#post-5084994)
 * Status: resolved