Dahili MyBB Hatası

MyBB, dahili bir SQL hatası olduğunu tespit etti ve aşağıdaki nedenlerden dolayı devam edemiyor.

Hata Tipi:
Uyarı (2)
Hata Mesajı:
count(): Parameter must be an array or an object that implements Countable
Konum:
Dosya: showthread.php
Satır: 861
Kod:
858.             {
859.                 if($post['pid'] == $mybb->input['pid'] || ($isfirst && !$mybb->input['pid']))
860.                 {
861.                     $postcounter count($postsdone);
862.                     $isfirst 0;
863.                 }
864.                 $tree[$post['replyto']][$post['pid']] = $post
Geri Bildirim Raporu:
File Line Function
/inc/class_error.php 210 errorHandler->output_error
/showthread.php 861 errorHandler->error