Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,005
- How-to & Troubleshooting
- 129,528
- Creating & Extending
- 25,790
- Requests & Feedback
- 9,496
- Third Party Plugins
- 9,782
- Showcase
- 3,316
- Ideas
- 1,397
- Miscellaneous
- 9,170
-
bp_forum_pagination_count() uses the $forum_template global, which is why it outputs instanteously.
bp_get_forum_topic_count() calls bp_forums_total_topic_count(), which has a do_action( ‘bbpress_init’ ) line. Try commenting out this line in /bp-forums.php and see if the memory problems persist.
If it the memory problems persist, then it’s a problem with the BB_Query instance, which I have no idea how to debug!
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS