HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

[Github #1352] Bug when edit user account.

wzttest1wzttest1 New
edited October 2013 in Feedback

Hi Vanilla team,

I found a bug in vanilla 2.0.18.4 and 2.0.18.8.

When I edit my email in Edit My Account page as member role I found php error in error log file:'PHP Fatal error: Call to undefined method RoleModel::Roles() in F:\vanilla\applications\dashboard\models\class.usermodel.php on line 848' and the page stopped and can do nothing.But I can edit my email as administrator role.

It looks is a bug,wish can help you team to fix it or could you give us a temporary solution to fix it?

Thanks.

Comments

  • hgtonighthgtonight ∞ · New Moderator

    This is a known issue and has been fixed in the next version.

    A temporary solution would be to set $Configuration['Garden']['Registration']['ConfirmEmail'] = FALSE; in your /conf/config.php file.

    You could also backport the function from 2.1b2 to 2.0.18.8.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • You mean I should copy the class.usermodel.php of 2.1b2 to replace the old class.usermodel.php file in my site for fixing this issue?

    Thanks.

  • hgtonighthgtonight ∞ · New Moderator

    @wzttest1 said:
    You mean I should copy the class.usermodel.php of 2.1b2 to replace the old class.usermodel.php file in my site for fixing this issue?

    I wouldn't presume to tell you what to do. :)

    I don't know if you could simply replace the file or not. Try it on a local install and please report back with what you find.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

Sign In or Register to comment.