Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • pfeufer
    Participant

    @pfeufer

    Can a Moderator post this solution in a “sticky” post? This is the solution, but people have to waste A LOT of time going different routes when the fix is in this code. Thanks!


    pfeufer
    Participant

    @pfeufer

    Hi Stacy,
    I found the solution to this issue on another forum:

    Copy and paste the following code into to the functions.php of your child theme:

    add_filter( ‘bp_core_avatar_original_max_filesize’, function() {
    return 5120000; // 5mb
    } );


    pfeufer
    Participant

    @pfeufer

    I disabled ALL plugins except for the Buddypress plugin. I am also using the Twenty Fifteen theme. The error is still happening when I go to change the photo (avatar) in the Buddypress group: ““Upload Failed! Error was: That photo is too big. Please upload one smaller than”

    1. Can you please provide more information on how to fix this issue?
    2. You mentioned “cache software”… Should I have a cache software installed to clear the cache?
    3. You also mentioned debugging. When I read the content on the page you provided a link for, it talks about developers and using debugging during development. How does this apply to my situation?

    Kindly address each of the 3 questions above so I can clearly understand what to do.

    Thanks!
    John


    pfeufer
    Participant

    @pfeufer

    Hi,
    I’m using the BRIDGE theme. I am using the UserPro plugin, but that handles user profiles and avatars and coded to work with Buddypress.

    Thanks,
    John


    pfeufer
    Participant

    @pfeufer

    Hi,

    Yes, I mean the Groups component of Buddypress.

    Thanks,
    John

Viewing 5 replies - 1 through 5 (of 5 total)
Skip to toolbar