This issue is commonly experienced  if you are using AWS Server.


As a workaround to resolve this, please follow the steps below:


1. Go to Appearance > Theme Editor.

2. Under Select theme to edit, choose (BuddyBoss Child/whatever theme is active), then click Select.

3. Below Theme Files, select Theme Functions (functions.php).

4. Append the code just before the closing PHP tag “?>”:


add_filter( 'buddyboss_theme_redux_is_theme', '__return_true', 999 );

/**
 * Get path from template directory to current file.
 * 
 * 
 * @param string $file_path Current file path
 * 
 * @uses get_template() Get active template directory name.
 * 
 * @return string
 */
function buddyboss_theme_dir_to_current_file_path( $file_path ) {
        // Format current file path with only right slash.
        $file_path = trailingslashit( $file_path );
        $file_path = str_replace( '\\', '/', $file_path );
        $file_path = str_replace( '//', '/', $file_path );
        $chunks    = explode( '/', $file_path );
        if ( ! is_array( $chunks ) ) {
                $chunks = array();
        }
        // Reverse array for child to parent or current file to template directory.
        $chunks   = array_reverse( $chunks );
        $template = get_template();
        $tmp_file = array();
        foreach ( $chunks as $path ) {
                if ( empty( $path ) ) {
                        continue;
                }
                if ( $path == $template ) {
                        break;
                }
                // Set all directory name from current file to template directory.
                $tmp_file[] = $path;              
        }
        // Reverse array for parent to child or template directory to file directory.
        $tmp_file = array_reverse( $tmp_file );
        $tmp_file = implode( '/', $tmp_file );
        return $tmp_file;
}

/**
 * Filter Redux URL
 * 
 * @param string $url Redux url.
 * 
 * @uses buddyboss_theme_dir_to_current_file_path() Get relative path.
 * 
 * @return string
 */
function buddyboss_theme_redux_url( $url ) {
        /**
         * When some parts of current file path and template directory path are match from the beginning.
         * 
         * Example
         * current_path = /bitnami/wordpress/wp-content/
         * tmpdir_path  = /bitnami/wordpress/wp-content/themes/buddyboss-theme/inc/admin/framework/ReduxCore/
         */
        if ( strpos( Redux_Helpers::cleanFilePath( __FILE__ ), Redux_Helpers::cleanFilePath( get_template_directory() ) ) !== false ) {
                return $url;
        } else if ( strpos( Redux_Helpers::cleanFilePath( __FILE__ ), Redux_Helpers::cleanFilePath( get_stylesheet_directory() ) ) !== false ) {
                return $url;
        } 
        /**
         * When some parts of current file path and template directory path are not match from the beginning.
         * 
         * Example
         * current_path = /opt/bitnami/wordpress/wp-content/
         * tmpdir_path  = /bitnami/wordpress/wp-content/themes/buddyboss-theme/inc/admin/framework/ReduxCore/
         */
        // Get template url.
        $tem_dir  = trailingslashit( get_template_directory_uri() );
        // Get template to current file directory path.
        $file_dir = buddyboss_theme_dir_to_current_file_path( $url );
        // Set url for ReduxCore directory
        $redux_url = trailingslashit( $tem_dir . $file_dir );
        // Check valid url
        if ( filter_var ( $redux_url, FILTER_VALIDATE_URL ) ) {
                return $redux_url;
        } 
        return $url;
}
add_filter( 'redux/_url', 'buddyboss_theme_redux_url' );
PHP

5. Click Update File to save the changes.


Note: Any modifications are considered as custom work already. Know more about our Support Policy here: https://www.buddyboss.com/support-policy/


If you will experience a layout issue with the Theme Options page after adding the function code above, you can add this function code.


add_filter( 'style_loader_src', 'bb_fix_theme_option_for_custom_wp_installation' );
add_filter( 'script_loader_src', 'bb_fix_theme_option_for_custom_wp_installation' );
function bb_fix_theme_option_for_custom_wp_installation( $url ) {
  if ( is_admin() ) {
    $url = str_replace( 'plugins/bitnami/wordpress/wp-content/themes/buddyboss-theme/', 'themes/buddyboss-theme/', $url );
  }
  return $url;
}