At what point did you get the error? The only place that query is used in is to show the total # of unread posts in a forum, the 7.1 feature.