Skip to:
Content
Pages
Categories
Search
Top
Bottom

Getting error saying Buddypress Group photo large?


  • pfeufer
    Participant

    @pfeufer

    I am trying to upload a new Buddypress Group photo (avatar), but I get a error that says:

    “Upload Failed! Error was: That photo is too big. Please upload one smaller than”

    I know my group photo is not too large because I even made a really small one that is 100px x 100px and I still get the warning.

    Thanks!
    John

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

  • sharmavishal
    Participant

    @sharmavishal

    which theme are u using? any cover photo plugin u using?


    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


    danbp
    Moderator

    @danbp

    You have to debug.
    Deactivate all plugins except BP and try again with one of Twenty theme.
    If you use a cache software, clear it before testing.

    https://codex.wordpress.org/Debugging_in_WordPress


    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


    sharmavishal
    Participant

    @sharmavishal

    @pfeufer start from here…see if you got the basic requirements on for BP install

    Getting Started


    Stacy (non coder)
    Participant

    @functionmunchkin

    My host supports all those and my wordpress is the latest. Stil having this issue since the latest bp upgrade.


    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

    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!

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.
Skip to toolbar