MyBB Community Forums
[Pushed] "Notice: Undefined index: num_threads" when moving threads - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Development (https://community.mybb.com/forum-161.html)
+--- Forum: MyBB 1.8 Development (https://community.mybb.com/forum-165.html)
+---- Forum: 1.8 Bugs and Issues (https://community.mybb.com/forum-157.html)
+----- Forum: Pushed (https://community.mybb.com/forum-183.html)
+----- Thread: [Pushed] "Notice: Undefined index: num_threads" when moving threads (/thread-193872.html)



"Notice: Undefined index: num_threads" when moving threads - Qiao - 2016-06-05

mybb_1807
Notice: Undefined index: num_threads in inc/class_moderation.php on line 2372
When moving threads with replies (other than topic starter)

Fix: add
if(!isset($user_counters[$posters['uid']]['num_threads']))
{
    $user_counters[$posters['uid']]['num_threads'] = 0;
}

after line 2296


RE: "Notice: Undefined index: num_threads" when moving threads - Destroy666 - 2016-06-07

Hi,

Thank you for your report. We have pushed this issue to our Github repository for further analysis where you can track our commits and progress with fixing this bug. Discussions regarding this bug may also take place there too.

Follow this link to visit the issue on Github: https://github.com/mybb/mybb/issues/2419

Thanks for contributing to MyBB!

Regards,
The MyBB Group