Skip to:
Content
Pages
Categories
Search
Top
Bottom

Installation caused avatar error that displays code


  • katemgilbert
    Participant

    @katemgilbert

    After activating BuddyPress, my existing users’ profiles show the following error message on the live site:

    Warning: Missing argument 5 for bp_core_fetch_avatar_filter() in /home/sitename/public_html/inside/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 479

    I deactivated the plug-in because the site is live and I don’t want this error code showing. Any suggestions for how to fix this?

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

  • katemgilbert
    Participant

    @katemgilbert

    Here is the code on line 479 (referenced in error):

    function bp_core_fetch_avatar_filter( $avatar, $user, $size, $default, $alt ) {


    Ryan Wells
    Participant

    @foamer145

    I had the exact same issue. What fixed it for me was removing “, $alt” from the line. voila, error be gone.


    PeterMHoward
    Member

    @petermhoward

    I had the same problem, and this page is ranking in google for the error message, so for future reference:

    I had the “Avatars” plugin installed — disabling it made the error go away (Buddypress provides the functionality I need)

    -p

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Installation caused avatar error that displays code’ is closed to new replies.
Skip to toolbar