Hello,
so, i created a page/site with the title search and no content. Wenn i click on the button <repair> these error desappeard …Die folgenden aktiven BuddyPress-Komponenten haben keine verbundenen WordPress-Seiten: Suche Seite<repair>
but the error
Warning: Creating default object from empty value in J:\xampp\htdocs\buddypress\wp-content\themes\custom-community\core\includes\bp\buddydev-search.php on line 49
is already active….
so i copy the php-text from line 49 here:
function setup_globals(){
global $bp;
if(!defined(‘BP_SEARCH_SLUG’))
define(‘BP_SEARCH_SLUG’,’search’);//though we know it is set, just a safety bit
$bp->search->slug=BP_SEARCH_SLUG; <<<< this is line 49
$bp->search->has_directory=true;
$bp->search->id=’search’;
$bp->search->name=__(‘Search Page’, ‘cc’);
$bp->search->root_slug=isset($bp->pages->search->slug)?$bp->pages->search->slug:$bp->search->slug;
}
Must i create a articel or a kategorie .Or could someone explain me what these php line means.
Custom Cumminity is so a great theme but i didn′t find where i made the mistake . ??
I hope it will help a lite bit, sorry for my bad english. My school time is a long time ago ??
Many thanks
Frank