Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Does BuddyPress have a General Forum?


John James Jacoby
Keymaster

@johnjamesjacoby

When activating the oci_bb_groups_forums.php plugin, I receive this error…

Fatal error: Cannot redeclare oci_server_methods() (previously declared in [...]/wp-content/mu-plugins/oci_bp_group_forums.php:417) in [...]/discussions/my-plugins/oci_bb_group_forums.php on line 249

This comes from my using “deep integration” on the bbPress side, including wp-load.php to allow access to the WP/BP functions (despite being told not to do this, ha!)

Adding some if function does not exist checks might be a good measure…

Did this for:

oci_service_methods
oci_escape
oci_authenticate
oci_xmlrpc_query
trailingslashit
untrailingslashit

Also, I added this around the ixr inclusion:

if (defined(BACKPRESS_PATH)) {
require_once( BACKPRESS_PATH . '/class.ixr.php' );
}

Might not be correct, but it did get rid of the double inclusion for me.

After those changes I was able to get that file to include without problem. Gonna keep testing. :)

Skip to toolbar