Sounds like an issue with the custom theme, does this happen if you use the default BP theme?
Thanks so much for the response!!! Yes, it’s my custom theme, the default works fine. I am wondering if it’s the bp default theme’s functions.php?
Thanks again!
You’ll need to include the /buddypress/bp-themes/bp-default/_inc/ajax.php
@djpaul, thanks, but I tried putting
`// Load the AJAX functions for the theme
require_once( TEMPLATEPATH . ‘/_inc/ajax.php’ );
// Load the javascript for the theme
wp_enqueue_script( ‘dtheme-ajax-js’, get_template_directory_uri() . ‘/_inc/global.js’, array( ‘jquery’ ) );`
But I got: `Fatal Error: required_once. No such file in directory`
And I did change the paths in the functions to match where they were and nothing changed.
Actually, I figured it out, I put the ajax.php in an _inc folder in my theme so it would work, and I got a fatal error: cannot re-declare, in the bp-themes/bp-default/_inc/ajax.php
So that means I already have the ajax. Every ajax loader is working fine except the widgets.
Sounds like a class issue, been a while since I looked but look at the class of the sidebar in the default theme & use that in your custom theme.