Skip to:
Content
Pages
Categories
Search
Top
Bottom

Trying to get property of non-object in


  • filo81
    Participant

    @filo81

    Hello Everyone,

    I got this error:

    Trying to get property of non-object in /web/htdocs/www.bestalented.com/home/wp-content/plugins/buddypress/bp-activity/bp-activity-template.php on line 2325

    function bp_get_activity_comment_link() {
    global $activities_template;

    /**
    * Filters the comment link for the current activity comment.
    *
    * @since 1.2.0
    *
    * @param string $value Constructed URL parameters with activity IDs.
    */

    HERE IS BELOW THE LINE!!!!
    return apply_filters( ‘bp_get_activity_comment_link’, ‘?ac=’ . $activities_template->activity->id . ‘/#ac-form-‘ . $activities_template->activity->id );
    }

    Could you please help me on that?

    Thank you.

    Best regards
    Filippo

  • You must be logged in to reply to this topic.
Skip to toolbar