Skip to:
Content
Pages
Categories
Search
Top
Bottom

Error message after log in: bp-core-filters.php


  • gottasmile
    Participant

    @gottasmile

    I was having trouble with the buddy press log in (it logged you in, but nothing changed on the website like it was suppose to – e.g. settings, profile etc. didn’t show up, the log in widget was still there). I decided to create a social media log in plugin which actually works and now when you log in, the settings and everything appear. However now, there is an error on the top of the page:

    Warning: strpos() [function.strpos]: Empty delimiter in /home/projectf/public_html/wp-content/plugins/buddypress/bp-core/bp-core-filters.php on line 489

    Help! I’m new to buddy press and am trying to make this work.

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

  • BuddyBoss
    Participant

    @buddyboss

    This is the code at that line:

    	// Highlight the current page
    	$current = bp_get_requested_url();
    	if ( strpos( $current, $menu_item->url ) !== false ) {
    		$menu_item->classes[] = 'current_page_item';
    	}

    This error occurs when the second parameter to strpos is empty. So the current menu item is considered as an empty value.

    I’m not sure why though. But maybe someone else can step in with a solution. Also make sure your server has a modern version of PHP running.


    gottasmile
    Participant

    @gottasmile

    I figured out that it was because I had a bbpress forum menu item, but I had deactivated bbpress when trying to figure out why the log in for buddy press wasn’t working. This error disappeared as soon as I reactivated bbpress.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error message after log in: bp-core-filters.php’ is closed to new replies.
Skip to toolbar