Search Results for 'theme'
-
Search Results
-
I have the same problem I work wordpress on a raspberry PI When I istall buddypres and try to create a group I am taking the wrong error “Not Found
The requested URL was not found on this server.Apache/2.4.65 (Debian) Server at wpress Port 80”
Thank you for your help
———————-
I wand to add that I have no such a problem under “XAMPP” at WIN 11, the above mention proble it happens also to other pages like “friends”, “members”, “Activity”, the theme I am using is the “Di Blog”
Thank you againMoved from: Reply To: The URLs to the pages are not working!
Hi,
I have just installed the BuddyPress Version 14.4.0 plugin on my WordPress Version 6.9 site (forallisthroughhim.com), using the Astra theme, and the URLs for the activity streams, members, user groups, register and activate are not working. I get an error message each time I try to view them, which says “There has been a critical error on this website.”
For more information, I installed this because I want to add a community hub within my membership, and without the pages, I cannot create this, nor would I be able to restrict the content (using the Paid Member Subscriptions plugin).
Can someone please help me with this?
Thank you.
Divine
Hello!
I’m trying to create new groups on my BuddyPress X wordpress Theme but I can’t due to this message: There has been a critical error on this website.
Please help!
Hello everyone,
I’m trying to create a simple custom theme to override the BuddyPress (Nouveau) registration page, but I’m consistently running into a White Screen of Death (WSOD). I’ve been troubleshooting for a while and would appreciate any help you can offer.
My Goal:
To create a custom theme that overrides register.php from the BP Nouveau template pack.My Environment:
OS: Windows
Local Development Tool: DevKinsta
Plugin: BuddyPress (latest version)
The Problem:
When I activate my custom theme, I get a WSOD when trying to access the site (e.g., mysite.local/register/).Here is a summary of the troubleshooting steps I have already tried:
Enabled WP_DEBUG: I have set WP_DEBUG, WP_DEBUG_LOG, and WP_DEBUG_DISPLAY to true in my wp-config.php. However, no errors are ever displayed on the screen or written to the debug.log file. The page is just completely blank.
Checked for PHP Errors: I initially had parse errors (an extra } bracket) in my functions.php and register.php files. These have been found and corrected.
Checked for BOM: I have verified with my code editor (VS Code) that all my theme files are saved with UTF-8 encoding and do not have a Byte Order Mark (BOM).
Reset Permalinks: I have gone to Settings > Permalinks and clicked “Save Changes” multiple times to rebuild the rewrite rules.
Theme Deactivation Test: When I rename my theme’s folder to force WordPress to deactivate it, I can access wp-admin again. This confirms the issue is within my theme’s code.
File Permissions: I received a security warning that /wp-content/ was too writeable. I have reset the permissions for my entire site folder on my Windows machine to ensure they are not too permissive.
My Theme Structure and Code:
My theme is very simple.
1. Directory Structure for the Override:
wp-content/themes/kfluxtheme/buddypress/members/register.php
(The register.php file is an exact, unmodified copy from wp-content/plugins/buddypress/bp-templates/bp-nouveau/buddypress/members/)/* Theme Name: K-Flux Theme Author: My Name Version: 1.0 */<?php /** * Theme functions and definitions. */ if ( ! function_exists( 'kfluxtheme_setup' ) ) { /** * Basic theme setup. */ function kfluxtheme_setup() { // Add support for BuddyPress (ESSENTIAL) add_theme_support( 'buddypress' ); // Let WordPress manage the document title. add_theme_support( 'title-tag' ); // Enable support for Post Thumbnails. add_theme_support( 'post-thumbnails' ); } } add_action( 'after_setup_theme', 'kfluxtheme_setup' ); /** * Enqueue scripts and styles. */ function kfluxtheme_enqueue_scripts() { wp_enqueue_style( 'kfluxtheme-style', get_stylesheet_uri(), array(), '1.0' ); } add_action( 'wp_enqueue_scripts', 'kfluxtheme_enqueue_scripts' );Despite all these steps, the WSOD persists when my theme is active. Since WP_DEBUG is not showing any errors, I’m running out of ideas on how to debug this further.
Has anyone encountered a similar issue with DevKinsta or have any suggestions for what I might be missing?
Thanks in advance for any help.
Hi BuddyBoss community,
I’m having trouble activating BuddyBoss components programmatically. I’ve tried several approaches, but the components aren’t being enabled. Here’s what I’ve attempted:
Using bp_update_option()
Direct database updates
Different hooks (init, after_setup_theme)
Current Behavior:No components activate
No error messages in logs
Tried both single site and multisite
What I Need:A reliable way to activate components (Groups, Activity, Messages, etc.)
Best practices for programmatic component management
Any known issues with automatic component activation
<?php
/**
* BuddyBoss Components Activator
* Add this to your theme’s functions.php or as a must-use plugin
*/// Make sure we don’t expose any info if called directly
if (!defined(‘ABSPATH’)) {
exit;
}// Hook into after_setup_theme to ensure BuddyBoss is loaded
add_action(‘after_setup_theme’, ‘activate_buddyboss_components_on_init’, 9999);function activate_buddyboss_components_on_init() {
// Check if BuddyBoss is active
if (!function_exists(‘buddypress’)) {
return;
}// Get current active components
$active_components = get_option(‘bp-active-components’, array());// Components we want to activate
$components = array(
‘groups’ => 1,
‘activity’ => 1,
‘messages’ => 1,
‘notifications’ => 1,
‘friends’ => 1,
‘settings’ => 1,
‘xprofile’ => 1,
‘members’ => 1
);// Merge with existing components
$new_components = array_merge($active_components, $components);// Only update if there are changes
if ($active_components != $new_components) {
update_option(‘bp-active-components’, $new_components);// Clear BuddyBoss component cache
if (function_exists(‘bp_core_reset_incrementor’)) {
bp_core_reset_incrementor(‘bp_active_components’);
}// Flush rewrite rules on next load
set_transient(‘bb_flush_rewrite_rules’, ‘1’, 60);
}
}// Handle rewrite rules flush
add_action(‘init’, ‘bb_maybe_flush_rewrite_rules’, 9999);
function bb_maybe_flush_rewrite_rules() {
if (get_transient(‘bb_flush_rewrite_rules’)) {
delete_transient(‘bb_flush_rewrite_rules’);
flush_rewrite_rules(false);
}
}