Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 1 replies (of 1 total)
  • @truepangzi

    Participant

    I have the same error here and it seems to me that the problem is somehow related to the warning-message i get:
    Warning: in_array() [function.in-array]: Wrong datatype for second argument in /is/htdocs/…/bp-core.php on line 315 (the last line in the following code)

    /**
    * bp_core_is_root_component()
    *
    * Checks to see if a component’s URL should be in the root, not under a member page:
    * eg: http://domain.com/groups/the-group NOT http://domain.com/members/andy/groups/the-group
    *
    * @package BuddyPress Core
    * @return true if root component, else false.
    */
    function bp_core_is_root_component( $component_name ) {
    global $bp;
    return in_array( $component_name, $bp->root_components );
    }

Viewing 1 replies (of 1 total)
Skip to toolbar