• Hi,

    On this page : https://cepc.bzh/repertoire/ we display members of our association, and profile pictures used to work ok. Image files of previously added profile pictures are still in their directories.

    Cover image works fine, they are visible and can be changed, so no issues with writing, reading or executing with the folders.

    When I look into the code, the photo of the member is not there but hidden by CSS or else, there is just the link but no HTML code to display the image.

    When I try to change the profile picture, everything seems to be ok, I upload the image, crop it and validate, but when I come back on my profile, it is still the empy profile picture, with the camera picto showing.

    If I do the same with the cover picture, everything goes smoothly.

    I don’t have js errors showing in my browser.

    Any idea or suggestion ?

    Thanks

    The page I need help with: [log in to see the link]

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

    (@missveronicatv)

    @lomic

    Try to do a Theme/Plugin conflict test if your Theme
    or another Plugin is causing a conflict with UM.

    https://docs.ultimatemember.com/article/96-how-to-do-a-plugin-theme-conflict-test

    Thread Starter Lomic

    (@lomic)

    Hi missveronica, thanks for your input, but the extension used to work with my theme (wordpress base theme, nothing fancy).

    No new extension has been added, no CSS issue (there is not HTML code to display the image inside the link).

    I went further in my investigations, the file for the profile picture is correctly uploaded and resized according to the settings of UM. So no issues with directory access or permissions (which would affect cover image too).

    Is it as if UM was not able (anymore, it used to) to find that their is a profile image to display (either when browsing members list, member profile or editing our own profile). Not sure at what point it fails, if it is when looking inside database, or if it is when building the code to display the image inside the link in the div “um-member-photo”.

    Thread Starter Lomic

    (@lomic)

    Went a bit deeper in the rabbit hole and here is what I’ve found :

    • The hook (um_members_in_profile_photo_tmpl) exists but has no registered actions
    • The expected profile image doesn’t load because nothing is hooked to this action
    • I verified that do_action() works by manually adding a function

      I am using the last version of the plugin so I am a bit puzzled why this hook does not have registered actions.

      What should be the best course of actions ? Wait for an input from the author of the plugin or code a custom template that will retrieve the profile image without using this empty hook ?

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