Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • hiverizecaro
    Participant

    @hiverizecaro

    I copied this into “How-to & Troubleshooting”…please delete this topic, dear admin


    hiverizecaro
    Participant

    @hiverizecaro

    thanks for the advice.
    I am still confused why the “official” buddypress codex advises to hook plugins to bp_include if this is too early.

    I changed my code to `
    add_action( ‘bp_loaded’, ‘my_plugin_init’ );`

    This solved the fatal error, yet I don’t see any changes in group behaviour…but I’ll look into that.


    hiverizecaro
    Participant

    @hiverizecaro

    Update: I split this into two files: the plugin header, the function my_plugin_init() and the add_action into an initthisplugin.php, and the rest into myPlugin.php

    Now myPlugin.php gets loaded, since buddypress is active, but stills throws an Fatal error: Call to undefined function bp_is_active().


    hiverizecaro
    Participant

    @hiverizecaro

    yes, it is activated. Everything I tested with it works like a charm (new member sign-up from frontend/backend, create new group, add friends …)

    I am totally lost where this error comes from.

    If I comment this line out I get the nexrt error: Class ‘BP_Group_Extension’ not found

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