Title: Problem with &#8220;Easy start thread&#8221; option
Last modified: August 14, 2019

---

# Problem with “Easy start thread” option

 *  [gingerbooch](https://wordpress.org/support/users/gingerbooch/)
 * (@gingerbooch)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/problem-with-easy-start-thread-option/)
 * Hi,
 * I would love to use the “Easy start thread” option but there is a bug when I 
   use it.
    I tried with Disable Multiple Threads enabled/disabled, with Auto Redirect
   to Existing Thread enabled/disable. Both of them enabled/disabled.
 * To reproduce :
    Open a thread and write to “someone”. Then delete the thread (
   don’t delete it from “someone” screen). Then go to “someone” public profile page
   and clic PM button. Error : Access restricted.
 * The problem comes with the `&fast=1` argument when opening a deleted thread wich
   is not deleted by the other user.
 * That would be nice to replace this error by :
    undelete action then open existing
   thread. (and for more flexibility, adding an admin option to restrict or undelete
   when thread is deleted)
 * Thank you <3

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

 *  Thread Starter [gingerbooch](https://wordpress.org/support/users/gingerbooch/)
 * (@gingerbooch)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/problem-with-easy-start-thread-option/#post-11847234)
 * Hi [@wordplus](https://wordpress.org/support/users/wordplus/),
 * I think I found the solution to this, I have to test further to be sure it is
   not creating a bug somewhere … If you could confirm it was a mistake in the code
   that would help me. I think so because the array is called `$from_user_pms` .
 * Please first try what I described above. You should get the same issue.
    Then
   try changing this line in the file `./inc/functions.php`
 * Original :
    `$check_thread = $wpdb->get_var($wpdb->prepare("SELECT thread_id 
   FROM {$wpdb->base_prefix}bp_messages_recipients WHERE thread_id = %d AND is_deleted
   = '0';", $from_user_pms[$to_user->ID]));`
 * Fixed :
    `$check_thread = $wpdb->get_var($wpdb->prepare("SELECT thread_id FROM{
   $wpdb->base_prefix}bp_messages_recipients WHERE thread_id = %d AND is_deleted
   = '0';", $from_user_pms[$from_user->ID]));`
 * Getting the variable’s integer from `$from_user_pms[$from_user->ID]` instead 
   of `$from_user_pms[$to_user->ID]` did the trick.
    -  This reply was modified 6 years, 9 months ago by [gingerbooch](https://wordpress.org/support/users/gingerbooch/).
 *  Plugin Author [wordplus](https://wordpress.org/support/users/wordplus/)
 * (@wordplus)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/problem-with-easy-start-thread-option/#post-11847590)
 * Hi there, [@gingerbooch](https://wordpress.org/support/users/gingerbooch/)!
 * I will check!
    Are you websocket user or free?
 * Thanks!
 *  Thread Starter [gingerbooch](https://wordpress.org/support/users/gingerbooch/)
 * (@gingerbooch)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/problem-with-easy-start-thread-option/#post-11850802)
 * Hi [@wordplus](https://wordpress.org/support/users/wordplus/),
 * I am using free version.
 *  Thread Starter [gingerbooch](https://wordpress.org/support/users/gingerbooch/)
 * (@gingerbooch)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/problem-with-easy-start-thread-option/#post-12266290)
 * Hi [@wordplus](https://wordpress.org/support/users/wordplus/),
 * I see this has been fixed after I updated to 1.7.9.12 . Thanks a lot !
    I found
   a little issue while testing, I will open a new thread for it.

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

The topic ‘Problem with “Easy start thread” option’ is closed to new replies.

 * ![](https://ps.w.org/bp-better-messages/assets/icon-256x256.png?rev=2835105)
 * [Better Messages - Chat Rooms, Group Chat, Private Messages & AI Chat Bots](https://wordpress.org/plugins/bp-better-messages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bp-better-messages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bp-better-messages/)
 * [Active Topics](https://wordpress.org/support/plugin/bp-better-messages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bp-better-messages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bp-better-messages/reviews/)

 * 4 replies
 * 1 participant
 * Last reply from: [gingerbooch](https://wordpress.org/support/users/gingerbooch/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/problem-with-easy-start-thread-option/#post-12266290)
 * Status: not resolved