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)

  • Ahri2012
    Participant

    @ahri2012

    Hello,
    i am searching round the web ,but i didn´t find the answer for my problem. Suddenly when i activate the custom cumminty theme in buddy press i became this error.

    Warning: Creating default object from empty value in J:xampphtdocswordpresswp-contentthemescustom-communitycoreincludesbpbuddydev-search.php on line 49

    I hope someone could help me, i am using wordpress 3.4.2 and buddypress 1.6.

    Should i post some pagefiles here?

    Many thank´s
    Frank


    @mercime
    Participant

    @mercime

    @ahri2012 the Custom Community theme devs had integrated sbrajesh’s BuddyPress Global/Sitewide Unified search. I’m sure theme devs @konrads @svenl77 can assist you in their forums or provide a link to the solution.


    Sven Lehnert
    Participant

    @svenl77

    Hi,

    thanks @mercime for letting me know.

    @ahri2012 thanks a lot for your feedback, I have just created a ticket in github with your issue, one of our developers will look into this soon and come back to you.

    Here is the link: https://github.com/Themekraft/Custom-Community/issues/18

    If you already have a bugfix, you are welcome to contrebute. Github is the right place.

    If you have further technical questions, please use our support system and write us a ticket here: http://support.themekraft.com/anonymous_requests/new


    Ahri2012
    Participant

    @ahri2012

    Hello,
    @Svenl77 merci for your answer and your help. Custom Community it is a great theme,
    On your support forum i created a ticket, but i didn´t find the mistake of my installation.

    Here is the link: http://support.themekraft.com/requests/1795

    Many thanks for your help
    Frank


    @mercime
    Participant

    @mercime

    @svenl77 Thank you as always for your prompt response. Cheers.


    Slava Abakumov
    Moderator

    @slaffik

    I could replicate that issue in case WP_DEBUG is set to true. Did some fixes for Custom Community theme. Soon will be deployed.


    @mercime
    Participant

    @mercime

    Thank you @slaffik

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