Support » Plugin: Ultimate Member – User Profile, User Registration, Login & Membership Plugin » After 2.1 Update, Roles (dropdown) returns error 500 on profile form

  • Resolved yomii327

    (@yomii327)


    I’ve updated the version today and checked if everything still works. So I tested out the page where you can update your profile.

    I’ve edited the profile form and added the Roles(dropdown) as a field that can be updated by the System Administrator only but whenever I try to edit this now, it doesn’t save and console log shows an error 500.

    Other roles can update their profile just fine because they don’t have the priviledge to update their role on their own but the System administrator can no longer save. Please help.

Viewing 15 replies - 1 through 15 (of 18 total)
  • I have the same issue after the update.
    Error anytime profiles tried to be updated.

    I hope someone gets back to us. I have another entry.

    Looking at the change log, it appears that this was intentionally broken, though the description is exceedingly vague about why…

    https://github.com/ultimatemember/ultimatemember/releases/tag/2.1.9

    And to clarify from the topic name, it appears this was introduced with version 2.1.9 not 2.1.

    Yeah, just confirmed, rolling back to 2.1.8 fixes this.

    Thread Starter yomii327

    (@yomii327)

    Yes, sorry v2.1.9. I also rolled back to 2.1.8 but still hoping they fix this issue on their end.

    How to roll back to 2.1.8, can someone tell me?

    First choice: restore a backup (you make them, right?) Preferably restore just wp-content/plugins/ultimate-member and not your entire WordPress install.

    Second choice: You can download it from here: https://github.com/ultimatemember/ultimatemember/releases/tag/2.1.8 link is: “Source code (.zip)”

    Note that it unpacks to a different directory name, so if you use the “upload a zip file” option from Add New Plugin, it will install a second copy instead of overwriting the existing one. Activating both at once will confuse the heck out of WordPress and may break things. After uploading it do NOT activate it. Instead, log into the shell or use an FTP client to delete the one named “ultimate-member” from wp-content/plugins/, then rename “ultimatemember-2.1.8” to “ultimate-member”. It should automatically activate because the one originally under that name was never deactivated. Note that your site will probably be broken after you delete the original until you rename the new one to replace it.

    Plugin Author nsinelnikov

    (@nsinelnikov)

    Hi there,

    There was a security upgrade yesterday.
    Maybe you have some special options for the Role field.

    Could you add these lines to your wp-config.php file

    // Enable WP_DEBUG mode
    define( 'WP_DEBUG', true );
    
    // Enable Debug logging to the /wp-content/debug.log file
    define( 'WP_DEBUG_LOG', true );
    
    // Disable display of errors and warnings
    define( 'WP_DEBUG_DISPLAY', false );

    And after that check the file content in wp-content/debug.log. Please send me this content.

    Let me know,
    Thanks!

    debug.log was the first place I looked trying to figure out what was going on before tracking it down. There was nothing in it. I could tail the log, submit a form, get the error on the web page, and nothing new would show up in the log.

    Plugin Author nsinelnikov

    (@nsinelnikov)

    Hi @justdave

    Please contact me there:

    https://ultimatemember.com/contact/sales/

    Thanks!

    @nsinelnikov That form points me back here when I’m not a paid user.

    I did file https://github.com/ultimatemember/ultimatemember/issues/670 yesterday, if that helps.

    The problem is with 2.1.9.. I rolled back to 2.1.8 and it solved the problem.. Earlier, it was not allowing to edit profile even with Admin role…It was giving error “This is not possible for security reasons.”

    Any solution to the problem mentioned? I was using 2.1 (WP v5.5.1), have member types dropdown in registration form and this returned an error stating: “This is not possible due to security reasons”

    Rolled back to 2.1.8 resolved the issue.

    Anyone managed to fix this issue by other means or know what is causing it?

    I had the same problem and I can confirm that rolling back to 2.1.8 resolved the issue.

    This was important to me that there a some fields in the profile that we want to have updatable by admin and “Site Manager” roles, but only visible to the member.

    Plugin Author nsinelnikov

    (@nsinelnikov)

    Hi there,

    Please check the latest pre-release 2.1.10-rc.1. We have added the fix.
    https://downloads.wordpress.org/plugin/ultimate-member.2.1.10-rc.1.zip

    Let me know how it works,
    Thanks!

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘After 2.1 Update, Roles (dropdown) returns error 500 on profile form’ is closed to new replies.