Skip to:
Content
Pages
Categories
Search
Top
Bottom

BP Fatal Error?

  • @jamiewade

    Member

    I am getting the following error on the friends activity stream for people who do not have anyone on their friendslist:

    `Fatal error: Call to a member function user_activities() on a non-object in /home/fitnesss/public_html/wp-content/plugins/buddypress/bp-activity/bp-activity-templatetags.php on line 259`

    Any help would be appreciated.

Viewing 9 replies - 1 through 9 (of 9 total)
  • @chouf1

    Participant

    Deactivate all of your plugins and try only with BP activated.
    After that reactivate one after one your plugins and see where this bug came from.

    @mercime

    Participant

    Could also be that you’re using an outdated theme, change to bp-default theme

    @gunju2221

    Participant

    Don’t deactivate, because the problem is in the buddypress plugin :)

    Seems you have a broken install. Try removing the buddypress plugin, and re-install it.

    @cnorris23

    Participant

    @JamieWade Are you running the site with WP_DEBUG set to true?

    @jamiewade

    Member

    The problem appears to be theme related, as the error does not show on the BP-Mobile theme. @cnorris23 My WP_DEBUG is set to false.

    @mercime

    Participant

    Which theme were you using?

    @jamiewade

    Member

    @mercime I am currently using BP-Widget Theme. I can’t use the BP-Default Theme because I get problems with my footer. I tried it with the BP-Default Theme, and the problem still persists.

    @jamiewade

    Member

    It seems the problem is this code:

    `function bp_activities() {
    global $activities_template;
    return $activities_template->user_activities();
    if ( empty( $activity ) )
    return false;
    }
    `

    Is there anyway I can add this PHP in to display rather than the error message?:

    `

    `

    @cnorris23

    Participant

    Are you using a custom template for this?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘BP Fatal Error?’ is closed to new replies.
Skip to toolbar