Hi, If its the problem I had then your website is not loading Global.JS you need to backup your functions.php file, (use your childthemes one if you have one) then edit it and add this code below near the bottom:
if ( !function_exists( ‘bp_dtheme_enqueue_scripts’ ) ) :
/**
* Enqueue theme javascript safely
*
* @see https://codex.wordpress.org/Function_Reference/wp_enqueue_script
* @since 1.5
*/
function bp_dtheme_enqueue_scripts() {
// Bump this when changes are made to bust cache
$version = ’20110921?;
// Enqueue the global JS – Ajax will not work without it
wp_enqueue_script( ‘dtheme-ajax-js’, WP_PLUGIN_DIR . ‘/buddypress/bp-themes/bp-default/_inc/global.js’, array( ‘jquery’ ), $version );
// Add words that we need to use in JS to the end of the page so they can be translated and still used.
$params = array(
‘my_favs’ => __( ‘My Favorites’, ‘buddypress’ ),
‘accepted’ => __( ‘Accepted’, ‘buddypress’ ),
‘rejected’ => __( ‘Rejected’, ‘buddypress’ ),
‘show_all_comments’ => __( ‘Show all comments for this thread’, ‘buddypress’ ),
‘show_all’ => __( ‘Show all’, ‘buddypress’ ),
‘comments’ => __( ‘comments’, ‘buddypress’ ),
‘close’ => __( ‘Close’, ‘buddypress’ ),
‘view’ => __( ‘View’, ‘buddypress’ )
);
wp_localize_script( ‘dtheme-ajax-js’, ‘BP_DTheme’, $params );
}
add_action( ‘wp_enqueue_scripts’, ‘bp_dtheme_enqueue_scripts’ );
endif;
Thanks for your help, but I’ve still got the same problem.
Look into global.js on your site, the same issue happened to mine.
Hmm. Tried all I know how to, but I’ve still got the same problem. Thanks anyway Connor.