<p>How to reproduce the 500 error (I'm using the test environment <a href="https://github.com/tomhughes" class="user-mention">@tomhughes</a> set up):</p>
<ol>
<li>create new account</li>
<li>in the settings use "Add an image" to upload a custom avatar image</li>
<li>in the settings use "Remove the current image" to delete this avatar</li>
<li>500 error :(</li>
</ol>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href='https://github.com/openstreetmap/openstreetmap-website/pull/447#issuecomment-22714974'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/uTRSc6ihLa7Shf84BpiOpk0ankkecKLqStEO3ReZYvo3j8lNxo16gQ_74A5D1T7c.gif' height='1' width='1'></p>