Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,850
- How-to & Troubleshooting
- 128,867
- Creating & Extending
- 25,736
- Requests & Feedback
- 9,445
- Third Party Plugins
- 9,772
- Showcase
- 3,317
- Ideas
- 1,388
- Miscellaneous
- 9,132
-
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