Forums
-
- Forum
- Posts
-
- Installation
- 28,255
- Troubleshooting
- 61,787
- Themes
- 10,301
- Plugins
- 15,221
- Requests & Feedback
- 14,830
- Showcase
- 3,252
-
Fixed it. For some reason putting
$forum_one_topics = $bbdb->get_results("SELECT * FROM $bbdb->topics WHERE forum_id = $forum_id ORDER BY topic_time DESC LIMIT 0,$number_of_topics")
in index.php gives the error, but placing it into front-page.php fixes it, no errors and it works…
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS