Skip to:
Content
Pages
Categories
Search
Top
Bottom

BP Fatal Error?

  • 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)

  • danbpfr
    Participant

    @chouf1

    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

    @mercime

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


    Virtuali
    Participant

    @gunju2221

    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.


    Brandon Allen
    Participant

    @cnorris23

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

    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

    @mercime

    Which theme were you using?

    @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.

    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?:

    `

    `


    Brandon Allen
    Participant

    @cnorris23

    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