Fatal error: Call to undefined function get_forums()
“Fatal error: Call to undefined function get_forums() in public_html/bbpress/index.php on line 11″
I am new to bbPress and new to WP as well…was trying to integrate WP and bbPress. After integration everything seemed to work perfectly, than I tried to follow this…
bbPress will not have access to WordPress’ functions unless you manually tell bbPress to load WordPress first. In order to do that, you need to put require_once(‘path/to/wp-blog-header.php’); in bbPress’ bb-config.php (wp-blog-header is in the same directory as WordPress’ wp-config.php file).
Doing this will add quite a lot of weight to your bbPress installation as it will cause WordPress to load in it’s entirety. Your best option is to try to emulate the functionality you require inside a bbPress plugin.”
but the Fatal Error occurred.
You must be logged in to reply to this topic.