# Can't delete a user - toLowerCase

**URL:** https://meta.discourse.org/t/cant-delete-a-user-tolowercase/32098
**Category:** Bug
**Created:** [August 14, 2015, 1:58am UTC](https://meta.discourse.org/t/cant-delete-a-user-tolowercase/32098 "2015-08-14T01:58:56Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)
#### Post date: [August 14, 2015, 1:58am UTC](https://meta.discourse.org/t/cant-delete-a-user-tolowercase/32098/1 "2015-08-14T01:58:56Z")

</div>

Continuing the discussion from [User title edits not saving properly](https://meta.discourse.org/t/user-title-edits-not-saving-properly/32095):

> [@User title edits not saving properly](https://meta.discourse.org/t/user-title-edits-not-saving-properly/32095/1):
>
> A fix was released recently in regards to user titles not being able to be saved… well now, the button acts as if the title was applied - but the titles are not actually applied.

This bug lives on.. I’ve updated to installed e9e5a6c and still can’t delete a user from from /users/USERNAME/activity

> Uncaught TypeError: Cannot read property ‘toLowerCase’ of undefined

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [August 14, 2015, 2:00am UTC](https://meta.discourse.org/t/cant-delete-a-user-tolowercase/32098/2 "2015-08-14T02:00:43Z")

</div>

> [@watchmanmonitor](#):
>
> and still can’t delete a user from from /users/USERNAME/activity

This is a diff bug, this is about deleting a user … let me try it out, what exactly are you doing and where are you hitting the delete button?

---

<div class="post-metadata">

### Author: ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)
#### Post date: [August 14, 2015, 2:04am UTC](https://meta.discourse.org/t/cant-delete-a-user-tolowercase/32098/3 "2015-08-14T02:04:49Z")

</div>

I’m on one of my self-hosted forums, and taking a newly added user and trying to delete them while looking at their Activity page.

Here’s a gist of the full error, with the fqdn changed

> <https://gist.github.com/YesThatAllen/3c27c4ef12f592a51074>

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [August 14, 2015, 2:35am UTC](https://meta.discourse.org/t/cant-delete-a-user-tolowercase/32098/4 "2015-08-14T02:35:22Z")

</div>

Fixed per

[https://github.com/discourse/discourse/commit/723d49d54337b02a594f838a22fec9d67b29b7e1](https://github.com/discourse/discourse/commit/723d49d54337b02a594f838a22fec9d67b29b7e1)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [August 14, 2015, 2:35am UTC](https://meta.discourse.org/t/cant-delete-a-user-tolowercase/32098/5 "2015-08-14T02:35:27Z")

</div>


