Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

  • bluehornetstudios
    Member

    @bluehornetstudios

    I don’t know if you’ve resolved this on your own, but I think the problem is that if you are using the BP template pack, or another non-BP theme, Buddypress’s functions.php file is not loading, so those functions are not getting defined. I don’t know where the function is that loads BP’s functions.php but I just went and added an include in bp-custom.php to load it before any of the other scripts.

    Like this:

    $bp_functions_file = ABSPATH . ‘wp-content/plugins/buddypress/bp-themes/bp-default/functions.php’;
    include $bp_functions_file;

    There’s probably a better way but that was a quick fix I used to fix that error. I didn’t get any “cannot redeclare…” errors so I’m assuming the file is not loading anywhere else.

    PS. I am using the freshnews theme by woothemes.


    bluehornetstudios
    Member

    @bluehornetstudios

    I don’t know if you’ve resolved this on your own, but I think the problem is that if you are using the BP template pack, Buddypress’s functions.php is not loading. I don’t know where the function is that loads it but I just added an include in bp-custom.php to load it before any of the other scripts.

    Like this:

    $bp_functions_file = ABSPATH . ‘wp-content/plugins/buddypress/bp-themes/bp-default/functions.php’;
    include $bp_functions_file;

    There’s probably a better way but that was a quick fix I used to fix that error.

    PS. adding “Template: bp-default” to my style.css didn’t work for me either.
    PPS. I am using the freshnews theme by woothemes.

Viewing 2 replies - 1 through 2 (of 2 total)
Skip to toolbar