Skip to:
Content
Pages
Categories
Search
Top
Bottom

Warning: strstr() [function.strstr]: Empty delimiter on line: 864

  • Avatar of jjl_2099
    jjl_2099
    Participant

    @jjl_2099

    basically strstr(); function requires both vars to contain data so would suggest changing line 864 in buddypress/bp-core/bp-core-template.php from:
    if ( !empty( $page_template ) && strstr( strtolower( $page_template ), strtolower( $component ) ) ) {

    to:
    if ( !empty( $page_template ) && !empty( $component ) && strstr( strtolower( $page_template ), strtolower( $component ) ) ) {

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.