# אישור שינוי כתובת אימייל מוביל לשגיאה

**URL:** <https://meta.discourse.org/t/email-address-change-confirmation-link-leads-to-error/163107>\
**Category:** Product Support\
**Created:** [5 בספטמבר,‏ 2020,‏ 11:07am UTC](https://meta.discourse.org/t/email-address-change-confirmation-link-leads-to-error/163107 "2020-09-05T11:07:11Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [5 בספטמבר,‏ 2020,‏ 11:07am UTC](https://meta.discourse.org/t/email-address-change-confirmation-link-leads-to-error/163107/1 "2020-09-05T11:07:11Z")

</div>

Hi,  
I’ve wanted to change my primary email on my account on my forum.  
I got the confirmation link:

 ![image](https://global.discourse-cdn.com/meta/original/3X/2/0/2056c775de98626048b91867270301371ed12c51.png)

When I open the link and click on the “Confirm” button it leads to an error 500:

> Oops  
> The software powering this discussion forum encountered an unexpected problem. We apologize for the inconvenience.
> 
> Detailed information about the error was logged, and an automatic notification generated. We’ll take a look at it.
> 
> No further action is necessary. However, if the error condition persists, you can provide additional detail, including steps to reproduce the error, by posting a discussion topic in the site’s feedback category.

Logs say:  
`NoMethodError (undefined method `update!' for nil:NilClass) lib/email_updater.rb:119:in `update_user_email' lib/email_updater.rb:105:in `block in confirm' lib/email_updater.rb:80:in `confirm' app/cont`

Any idea?

---

_[View the full topic](https://meta.discourse.org/t/email-address-change-confirmation-link-leads-to-error/163107)._
