Skip to:
Content
Pages
Categories
Search
Top
Bottom

Buddy Press and theme custom community = error message


  • Ahri2012
    Participant

    @ahri2012

    Hello to all,

    i am using buddy press and the theme custom cummunity. After after the installation of my first buddy press, with the theme custum cummnunity i becam a warning .

    Warning: Creating default object from empty value in J:xampphtdocswpwp-contentthemescustom-communitycoreincludesbpbuddydev-search.php on line 49
    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;
    }

    What´s the mistake of my installation on my home server.

    Many thank´s

    Frank

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Buddy Press and theme custom community = error message’ is closed to new replies.
Skip to toolbar