• Resolved kengholm

    (@kengholm)


    Updated UM plugin from 1.3.81 to 1.3.82. When I register as a new member (I’m creating a new website, so testing use cases), then try to change settings on the Account and Privacy tabs of Account screen, I see the “Your account settings were updated” banner but the settings revert to previous values and the wp_usermeta doesn’t update. In particular, the new user’s wp_usermeta never showed entries for hide_from_members or profile_privacy and the profile was always visible to everybody. However, pre-existing “members” (again, just me testing) were still able to edit their privacy settings, wp_usermeta would update accordingly, and profile visibility would change correctly.
    I rolled back to 1.3.81 and everything worked perfectly again.
    Updated to 1.3.82 and it is broken again as reported before.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter kengholm

    (@kengholm)

    Sorry forgot to include: Using Fluida theme, also tested with 2015.
    Other plug-ins: amr-users, User Gallery Lite, User Role Editor, Event Calendar WP, Contact Form 7, Facebook Feed (Arrow), and Pop-up Builder.

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @kenghold,

    Does your site have caching plugin? Can you please try excluding the account page from cache and see if this help?

    Regards,

    Thread Starter kengholm

    (@kengholm)

    I have no caching plugins. IN UM, I did clear the user cache frequently with the button in the UM Dashboard. Similar for UserLists. But I don’t think this is the kind of caching you mean.

    Plugin Support Ultimate Member Support

    (@ultimatemembersupport)

    Hi @kengholm,

    Can you please check if your server has varnish or memcached?

    Thanks.

    Thread Starter kengholm

    (@kengholm)

    TigerTech.com is my host. A search of their website and support site didn’t return anything for “varnish”, but “memcached” was listed in a 2014 report as one of the packages updated as part of a security upgrade at that time. They recommend we use the WP Supercache plugin they provide, but I have never activated that. Here’s what they say about their server software:

    We use the Apache Web server, version 2.2.22 (with additional Debian Linux “security patches” applied).

    Our servers have many Apache modules installed. In particular, users may be interested to know that we support the following:

    mod_actions
    mod_asis
    mod_auth_mysql
    mod_cgi
    mod_deflate
    mod_expires
    mod_fcgid
    mod_geoip
    mod_headers
    mod_include
    mod_rewrite
    mod_speling
    mod_substitute
    suexec
    mod_unique_id

    Thread Starter kengholm

    (@kengholm)

    I think the problem may have to do with the new hook for um_secure_fields. Fake users that I create using UM v1.3.82 don’t show um_secure_fields entry in the user_metadata table in the database (using phpadmin), and they don’t show a user_login there either, though the wp_user table shows user_login. These users can’t edit controls in their Account tabs, though the green banner says “Your account was updated successfully”. Users created using v1.3.81 have these entries in user_metadata and they are able to edit their account tabs.
    I do not have any custom code or plugins that use um_secure_fields.

    Thread Starter kengholm

    (@kengholm)

    I just updated to UM v1.3.83 and the problem no longer occurs. This could be because of any of these changes:
    – I imported a whole new set of users from a csv that set the Privacy fields. At the time I started this thread, I created all my test users either in UM front end or WP back end, so their Privacy settings in many cases were just defaults (not set manually by me).
    – I’ve edited a lot of my Registration and Profile controls and in that process might have fixed an error that prevented users from updating their Account settings.
    – I added a custom action using the um_after_user_updated hook that sets the wp_role when an admin changes a member’s UM role in an admin-only version of the Profile page. (don’t see how this would have affected Account updates, but included it because it is a change.)
    – v1.3.83 fixed it, but I don’t see anything in the changelog that is an obvious candidate.
    I consider this a closed issue. Thank you for your help.

    I am having issues with users not able to update their profiles too. Users can update their avatar and header image but not the form. I tried disabling my cache plugin and no go. Using 1.3.83 and WordPress version 4.7.2.

    Thread Starter kengholm

    (@kengholm)

    I wasn’t able to edit profiles at one point, due to my own error. If there is a required field and you don’t show it, the form can’t be submitted, but there is no visible indication to let you know that’s what is happening. Check each of your controls for visibility in both edit and view modes.

    There isn’t any required fields, all form fields are presented to all users. Even as an admin I can’t even update other profiles.

    To add to it the confusion, I can edit new users but older users with specific roles I can’t update. Every profile uses the same fields.

    So figured it out. Because I am hiding the original biography section, exceeding the character count doesn’t let me update. Did not see the issue because I hide it and this only impacted our team that uses it for their articles. So will be fixing this and hope this helps anyone else out.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘New members can’t update Account fields after update to 1.3.82’ is closed to new replies.