1. 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...

Discussion in 'Resolved Bug Reports' started by lauren, May 3, 2011.

  1. lauren

    lauren Member

    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?
     
  2. Mike

    Mike XenForo Developer Staff Member

    That's a bug. This line:
    Code:
    $reportModel->rebuildReportCountCache();
    should be:
    Code:
    $moderationQueueModel->rebuildModerationQueueCountCache();
    in library/XenForo/ControllerPublic/ModerationQueue.php
     
    dieketzer and lauren like this.
  3. lauren

    lauren Member

    thanks mike :)
     

Share This Page