• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed  Call to a member function rebuildReportCountCache() on a non-object in...

#1
when trying to access the moderation queue i get the following error:

Fatal error: Call to a member function rebuildReportCountCache() on a non-object in /home/xxx/www/xxx.com/public_html/community/library/XenForo/ControllerPublic/ModerationQueue.php on line 0

i have tried disabling all addons, reuploaded a fresh ModerationQueue.php but it doesnt seem to help. there is nothing recorded in the server error log. i dont even know where to begin trying to fix this.

what should i do?
 

Mike

XenForo developer
Staff member
#2
That's a bug. This line:
Code:
$reportModel->rebuildReportCountCache();
should be:
Code:
$moderationQueueModel->rebuildModerationQueueCountCache();
in library/XenForo/ControllerPublic/ModerationQueue.php